src/grid.cpp

changeset 1193
b78b6cf02213
parent 1192
317f4ce38f3f
child 1199
613a981223a6
equal deleted inserted replaced
1192:317f4ce38f3f 1193:b78b6cf02213
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 #include "grid.h" 19 #include "grid.h"
20 #include "configuration.h" 20 #include "linetypes/modelobject.h"
21
22 Grid::Grid(QObject* parent) :
23 HierarchyElement(parent) {}
24
25 21
26 qreal Grid::coordinateSnap() const 22 qreal Grid::coordinateSnap() const
27 { 23 {
28 switch (configuration().grid()) 24 switch (configuration().grid())
29 { 25 {

mercurial