[Marble-commits] branches/KDE/4.6/kdeedu/marble/src/lib

Dennis Nienhüser earthwings at gentoo.org
Fri Dec 31 16:37:47 CET 2010


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 ) ) );
 }
 


More information about the Marble-commits mailing list