[qet] [3294] bug fix: gestures set false by default

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 3294
Author:   scorpio810
Date:     2014-09-01 16:56:11 +0200 (Mon, 01 Sep 2014)
Log Message:
-----------
bug fix: gestures set false by default

Modified Paths:
--------------
    trunk/sources/configpages.cpp
    trunk/sources/diagramview.cpp

Modified: trunk/sources/configpages.cpp
===================================================================
--- trunk/sources/configpages.cpp	2014-08-31 09:45:01 UTC (rev 3293)
+++ trunk/sources/configpages.cpp	2014-09-01 14:56:11 UTC (rev 3294)
@@ -117,7 +117,7 @@
 	bool use_system_colors = settings.value("usesystemcolors", "true").toBool();
 	bool tabbed = settings.value("diagrameditor/viewmode", "tabbed") == "tabbed";
 	bool integrate_elements = settings.value("diagrameditor/integrate-elements", true).toBool();
-	bool use_trackpad = settings.value("diagramview/gestures", true).toBool();
+	bool use_trackpad = settings.value("diagramview/gestures", false).toBool();
 	bool highlight_integrated_elements = settings.value("diagrameditor/highlight-integrated-elements", true).toBool();
 	QString default_element_informations = settings.value("elementeditor/default-informations", "").toString();
 	
@@ -145,7 +145,6 @@
 	
 	use_system_colors_ -> setChecked(use_system_colors);
 
-	use_trackpad_ -> setChecked(false);
 	use_trackpad_ -> setChecked(use_trackpad);
 
 	if (tabbed) {

Modified: trunk/sources/diagramview.cpp
===================================================================
--- trunk/sources/diagramview.cpp	2014-08-31 09:45:01 UTC (rev 3293)
+++ trunk/sources/diagramview.cpp	2014-09-01 14:56:11 UTC (rev 3294)
@@ -584,7 +584,7 @@
  * @return
  */
 bool DiagramView::gestures() const {
-	return(QETApp::settings().value("diagramview/gestures", true).toBool());
+	return(QETApp::settings().value("diagramview/gestures", false).toBool());
 }
 
 /**


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/