Wed, 04 Apr 2018 11:43:15 +0300
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;