[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/messagecomposer
From:       Laurent Montel <montel () kde ! org>
Date:       2010-11-26 12:44:04
Message-ID: 20101126124404.EC49FAC8A2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1200982 by mlaurent:

Test pointer otherwise it's not necessary to use a QPointer


 M  +1 -1      kmeditor.cpp  


--- trunk/KDE/kdepim/messagecomposer/kmeditor.cpp #1200981:1200982
@@ -274,7 +274,7 @@
   fdlg->setCaption( i18nc( "@title:window", "Insert File" ) );
 
   KUrl url;
-  if ( fdlg->exec() ) {
+  if ( fdlg->exec() && fdlg ) {
     url = fdlg->selectedUrl();
     url.setFileEncoding( MessageViewer::NodeHelper::fixEncoding( fdlg->selectedEncoding() ) );
   }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic