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

List:       kde-commits
Subject:    koffice/lib/kofficecore
From:       David Faure <faure () kde ! org>
Date:       2003-10-05 16:41:15
[Download RAW message or body]

CVS commit by faure: 

Don't display an empty error dialog when cancelling the auth dialog.


  M +2 -1      koMainWindow.cc   1.313


--- koffice/lib/kofficecore/koMainWindow.cc  #1.312:1.313
@@ -617,4 +617,5 @@ void KoMainWindow::slotLoadCanceled( con
 {
     kdDebug(30003) << "KoMainWindow::slotLoadCanceled" << endl;
+    if ( !errMsg.isEmpty() ) // empty when canceled by user
     KMessageBox::error( this, errMsg );
     // ... can't delete the document, it's the one who emitted the signal...


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

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