# HG changeset patch # User Teemu Piippo # Date 1486908164 -7200 # Node ID bd151d5c42e6030d39858830609b705e6d8824b1 # Parent 15e46ea3151fbd856e0fde9d3c94f5920d9f098b Moved definition of MainWindow::ToolInfo into mainwindow.cpp diff -r 15e46ea3151f -r bd151d5c42e6 src/mainwindow.cpp --- 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) diff -r 15e46ea3151f -r bd151d5c42e6 src/mainwindow.h --- 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;