src/hierarchyelement.h

changeset 1380
bc799b965418
parent 1328
d68d1ce89d05
child 1435
b8dc3620e5db
--- 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;

mercurial