removed dead code

Wed, 04 Apr 2018 11:43:15 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 04 Apr 2018 11:43:15 +0300
changeset 1381
191122e19b53
parent 1380
bc799b965418
child 1382
6f31a87006f2

removed dead code

src/mainwindow.cpp file | annotate | diff | comparison | revisions
src/mainwindow.h file | annotate | diff | comparison | revisions
--- a/src/mainwindow.cpp	Wed Apr 04 11:41:26 2018 +0300
+++ b/src/mainwindow.cpp	Wed Apr 04 11:43:15 2018 +0300
@@ -623,11 +623,6 @@
 	return {format(":/icons/%1.png", iconName)};
 }
 
-MessageManager* MainWindow::messageLog() const
-{
-	return m_messageLog;
-}
-
 // ---------------------------------------------------------------------------------------------------------------------
 //
 void MainWindow::updateDocumentList()
@@ -952,7 +947,6 @@
 		renderer = new Canvas {document, this};
 		m_renderers[document] = renderer;
 		ui.rendererStack->addWidget(renderer);
-		//connect(m_messageLog, SIGNAL(changed()), renderer, SLOT(update()));
 	}
 
 	return renderer;
--- a/src/mainwindow.h	Wed Apr 04 11:41:26 2018 +0300
+++ b/src/mainwindow.h	Wed Apr 04 11:43:15 2018 +0300
@@ -27,7 +27,6 @@
 #include "linetypes/modelobject.h"
 #include "colors.h"
 
-class MessageManager;
 class QToolButton;
 class Canvas;
 class Toolset;
@@ -81,7 +80,6 @@
 	Grid* grid();
 	class GuiUtilities* guiUtilities();
 	void loadShortcuts();
-	MessageManager* messageLog() const;
 	LDDocument* newDocument (bool cache = false);
 	void openDocumentForEditing(LDDocument* document);
 	PrimitiveManager* primitives();
@@ -128,7 +126,6 @@
 	struct ToolInfo;
 
 	class GuiUtilities* m_guiUtilities;
-	MessageManager* m_messageLog = nullptr;
 	QMap<LDDocument*, Canvas*> m_renderers;
 	QMap<LDDocument*, QItemSelectionModel*> m_selections;
 	PrimitiveManager* m_primitives;

mercurial