Moved definition of MainWindow::ToolInfo into mainwindow.cpp

Sun, 12 Feb 2017 16:02:44 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 12 Feb 2017 16:02:44 +0200
changeset 1124
bd151d5c42e6
parent 1123
15e46ea3151f
child 1125
d8f94e56d42e

Moved definition of MainWindow::ToolInfo into mainwindow.cpp

src/mainwindow.cpp file | annotate | diff | comparison | revisions
src/mainwindow.h file | annotate | diff | comparison | revisions
--- a/src/mainwindow.cpp	Sun Feb 12 16:02:02 2017 +0200
+++ b/src/mainwindow.cpp	Sun Feb 12 16:02:44 2017 +0200
@@ -41,6 +41,12 @@
 #include "grid.h"
 #include "mathfunctions.h"
 
+struct MainWindow::ToolInfo
+{
+	QMetaMethod method;
+	Toolset* object;
+};
+
 ConfigOption (bool ColorizeObjectsList = true)
 ConfigOption (QString QuickColorToolbar = "4:25:14:27:2:3:11:1:22:|:0:72:71:15")
 ConfigOption (bool ListImplicitFiles = false)
--- a/src/mainwindow.h	Sun Feb 12 16:02:02 2017 +0200
+++ b/src/mainwindow.h	Sun Feb 12 16:02:44 2017 +0200
@@ -136,7 +136,7 @@
 	void closeEvent (QCloseEvent* ev);
 
 private:
-	struct ToolInfo { QMetaMethod method; Toolset* object; };
+	struct ToolInfo;
 
 	Configuration& m_config;
 	class GuiUtilities* m_guiUtilities;

mercurial