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

List:       kde-commits
Subject:    branches/KDE/4.6/kdeedu/marble/src/lib
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2010-12-31 15:37:47
Message-ID: 20101231153747.829A0AC8AE () svn ! kde ! org
[Download RAW message or body]

SVN commit 1210472 by nienhueser:

Connect the activated signal to map theme changes instead of the pressed signal. The \
latter is also invoked when grabbing an item for scrolling, resulting in unwanted \
theme changes. Fixes sluggish menu behavior on Maemo. Lazy theme change in dialog \
mode (change theme when accept()ing the dialog) tbd. Backport of commit 1210470.

 M  +1 -1      MarbleThemeSelectView.cpp  


--- branches/KDE/4.6/kdeedu/marble/src/lib/MarbleThemeSelectView.cpp #1210471:1210472
@@ -39,7 +39,7 @@
     setEditTriggers( QAbstractItemView::NoEditTriggers );
     setSelectionMode( QAbstractItemView::SingleSelection );
 
-    connect( this, SIGNAL( pressed( QModelIndex ) ),
+    connect( this, SIGNAL( activated( QModelIndex ) ),
                    SLOT( selectedMapTheme( QModelIndex ) ) );
 }
 


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

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