--- a/src/hierarchyelement.h Wed Apr 04 11:24:37 2018 +0300 +++ b/src/hierarchyelement.h Wed Apr 04 11:41:26 2018 +0300 @@ -20,7 +20,6 @@ #include <QObject> #include "main.h" #include "configuration.h" -#include "messageLog.h" #include "mainwindow.h" class GuiUtilities; @@ -48,14 +47,6 @@ // Utility functions QString preferredLicenseText() const; - // Format and print the given args to the message log. - template<typename... Args> - void print(QString formatString, Args... args) - { - formatHelper(formatString, args...); - m_window->addMessage(formatString); - } - protected: MainWindow* m_window; DocumentManager* m_documents;