[Kst] branches/work/kst/portto4/kst/src/libkstapp
Barth Netterfield
netterfield at astro.utoronto.ca
Tue Jul 10 00:25:40 UTC 2012
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();
}
More information about the Kst
mailing list