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

List:       kde-commits
Subject:    branches/work/kst/portto4/kst/src/libkstapp
From:       Barth Netterfield <netterfield () astro ! utoronto ! ca>
Date:       2012-07-10 0:25:40
Message-ID: 20120710002540.CD9C7AC7A9 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1304950 by netterfield:

Snap to grid is only partly implemented, and the part that is
implemented might not do what we want anyway.
So: disable it and hide the option for 2.0.6.


 M  +4 -2      gridtab.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/gridtab.cpp #1304949:1304950
@@ -21,9 +21,11 @@
   setTabTitle(tr("Grid"));
 
   connect(_showGrid, SIGNAL(stateChanged(int)), this, SIGNAL(modified()));
-  connect(_snapToGrid, SIGNAL(stateChanged(int)), this, SIGNAL(modified()));
+  //connect(_snapToGrid, SIGNAL(stateChanged(int)), this, SIGNAL(modified()));
   connect(_gridHorSpacing, SIGNAL(valueChanged(double)), this, SIGNAL(modified()));
   connect(_gridVerSpacing, SIGNAL(valueChanged(double)), this, SIGNAL(modified()));
+
+  _snapToGrid->hide();
 }
 
 
@@ -42,7 +44,7 @@
 
 
 bool GridTab::snapToGrid() const {
-  return _snapToGrid->isChecked();
+  return false; //_snapToGrid->isChecked();
 }
 
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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