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

List:       kde-commits
Subject:    kdepim/kmail
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2004-10-28 9:38:35
Message-ID: 20041028093835.883F616CC4 () office ! kde ! org
[Download RAW message or body]

CVS commit by mutz: 

From KDE_3_3_BRANCH: Don't show busy cursors when dialogs pop up.


  M +1 -0      kmcomposewin.cpp   1.876
  M +9 -2      kmmessage.cpp   1.494


--- kdepim/kmail/kmcomposewin.cpp  #1.875:1.876
@@ -2203,4 +2203,5 @@ void KMComposeWin::slotAttachFileResult(
     composer.writeEntry("showMessagePartDialogOnAttach", false);
   if (composer.readBoolEntry("showMessagePartDialogOnAttach", false)) {
+    const KCursorSaver saver( QCursor::ArrowCursor );
     KMMsgPartDialogCompat dlg;
     int encodings = 0;

--- kdepim/kmail/kmmessage.cpp  #1.493:1.494
@@ -25,4 +25,5 @@ using KMail::ObjectTreeParser;
 using KMail::HeaderStrategy;
 #include "kmaddrbook.h"
+#include "kcursorsaver.h"
 
 #include <cryptplugwrapperlist.h>
@@ -1110,8 +1111,10 @@ KMMessage* KMMessage::createBounce( bool
   {
 #if ALLOW_GUI
-    if ( withUI )
+    if ( withUI ) {
+      const KCursorSaver saver( QCursor::ArrowCursor );
       KMessageBox::sorry(0 /*app-global modal*/,
                          i18n("The message has no sender set"),
                          i18n("Bounce Message"));
+    }
 #endif
     return 0;
@@ -1129,5 +1132,6 @@ KMMessage* KMMessage::createBounce( bool
 
 #if ALLOW_GUI
-  if ( withUI )
+  if ( withUI ) {
+    const KCursorSaver saver( QCursor::ArrowCursor );
     // No composer appears. So better ask before sending.
     if (KMessageBox::warningContinueCancel(0 /*app-global modal*/,
@@ -1141,4 +1145,5 @@ KMMessage* KMMessage::createBounce( bool
       return 0;
     }
+  }
 #endif
 
@@ -1300,4 +1305,5 @@ static int requestAdviceOnMDN( const cha
     if ( !qstrcmp( what, mdnMessageBoxes[i].dontAskAgainID ) )
       if ( mdnMessageBoxes[i].canDeny ) {
+        const KCursorSaver saver( QCursor::ArrowCursor );
         int answer = QMessageBox::information( 0,
                          i18n("Message Disposition Notification Request"),
@@ -1306,4 +1312,5 @@ static int requestAdviceOnMDN( const cha
         return answer ? answer + 1 : 0 ; // map to "mode" in createMDN
       } else {
+        const KCursorSaver saver( QCursor::ArrowCursor );
         int answer = QMessageBox::information( 0,
                          i18n("Message Disposition Notification Request"),


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

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