From 8eca665307fe27985ca685f6f379d6214a054129 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 2 Aug 2016 23:52:46 +0200 Subject: [PATCH] GLSL: Remove some dead code Commented out since the initial import in 2010 Change-Id: Icdb6ced53b39b2fda7037616cf9d2f098279e534 Reviewed-by: David Schulz --- src/plugins/glsleditor/glsleditor.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/plugins/glsleditor/glsleditor.cpp b/src/plugins/glsleditor/glsleditor.cpp index ddf7ed75357..a0871bd1b1e 100644 --- a/src/plugins/glsleditor/glsleditor.cpp +++ b/src/plugins/glsleditor/glsleditor.cpp @@ -163,15 +163,6 @@ GlslEditorWidget::GlslEditorWidget() m_outlineCombo->setSizePolicy(policy); insertExtraToolBarWidget(TextEditorWidget::Left, m_outlineCombo); - -// if (m_modelManager) { -// m_semanticHighlighter->setModelManager(m_modelManager); -// connect(m_modelManager, SIGNAL(documentUpdated(GLSL::Document::Ptr)), -// this, SLOT(onDocumentUpdated(GLSL::Document::Ptr))); -// connect(m_modelManager, SIGNAL(libraryInfoUpdated(QString,GLSL::LibraryInfo)), -// this, SLOT(forceSemanticRehighlight())); -// connect(this->document(), SIGNAL(modificationChanged(bool)), this, SLOT(modificationChanged(bool))); -// } } int GlslEditorWidget::editorRevision() const