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

List:       kde-commits
Subject:    extragear/graphics/digikam/utilities/setup
From:       Marcel Wiesweg <marcel.wiesweg () gmx ! de>
Date:       2010-01-03 16:44:11
Message-ID: 1262537051.362218.8594.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1069528 by mwiesweg:

Set a wait cursor while applying setup options.
The collection setup is the first to apply, I suspect that when cancelling
the scan dialog, the other pages are still busy applying.
The dialog is closed only when all this is finished.

CCBUG: 219878

 M  +4 -0      setup.cpp  


--- trunk/extragear/graphics/digikam/utilities/setup/setup.cpp #1069527:1069528
@@ -368,6 +368,8 @@
 
 void Setup::slotOkClicked()
 {
+    kapp->setOverrideCursor(Qt::WaitCursor);
+
     d->collectionsPage->applySettings();
     d->albumViewPage->applySettings();
     d->tooltipPage->applySettings();
@@ -387,6 +389,8 @@
 
     AlbumSettings::instance()->emitSetupChanged();
 
+    kapp->restoreOverrideCursor();
+
     if (d->metadataPage->exifAutoRotateAsChanged())
     {
         QString msg = i18n("The Exif auto-rotate thumbnails option has been changed.\n"
[prev in list] [next in list] [prev in thread] [next in thread] 

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