diff -r c20ee66b6705 -r 1d6d244bdabd src/mainwindow.h --- a/src/mainwindow.h Thu Feb 23 19:56:21 2017 +0200 +++ b/src/mainwindow.h Thu Feb 23 20:03:31 2017 +0200 @@ -115,6 +115,9 @@ void updateSelection(); void updateTitle(); + static QPixmap getIcon(QString iconName); + static class QSettings* makeSettings(QObject* parent = nullptr); + signals: void gridChanged(); @@ -169,7 +172,3 @@ // Pointer to the instance of MainWindow. // TODO: it's going out, slowly but surely. extern MainWindow* g_win; - -// Get an icon by name from the resources directory. -QPixmap GetIcon (QString iconName); -class QSettings* makeSettings(QObject* parent = nullptr);