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

List:       kde-commits
Subject:    kdepim/kmail
From:       David Faure <faure () kde ! org>
Date:       2004-07-21 23:45:01
Message-ID: 20040721234501.B3E849A5C () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Fixed "check mail on startup" not showing the progress dialog.


  M +3 -1      kmmainwidget.cpp   1.246


--- kdepim/kmail/kmmainwidget.cpp  #1.245:1.246
@@ -351,5 +351,7 @@ void KMMainWidget::readConfig(void)
       // check mail on startup
       bool check = config->readBoolEntry("checkmail-startup", false);
-      if (check) slotCheckMail();
+      if (check)
+        // do it after building the kmmainwin, so that the progressdialog is available
+        QTimer::singleShot( 0, this, SLOT( slotCheckMail() ) );
     }
   }


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

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