From 7aefdeb089b7647d3f9b285f567bbc7d2d7b31ff Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 18 Apr 2018 15:42:03 +0200 Subject: [PATCH] GUI: Remove connect call with nonexistent slot function (#1177) When starting the application Qt prints this message: QObject::connect: No such slot CodeEditor::highlightCurrentLine() in ..\gui\codeeditor.cpp:141 And this function really does not exist, i guess it is some relict. If it is planned to implement it this PR can just be closed. --- gui/codeeditor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/gui/codeeditor.cpp b/gui/codeeditor.cpp index 0e69e5427..d68fe8a0f 100644 --- a/gui/codeeditor.cpp +++ b/gui/codeeditor.cpp @@ -138,7 +138,6 @@ CodeEditor::CodeEditor(QWidget *parent) : QPlainTextEdit(parent) connect(this, SIGNAL(blockCountChanged(int)), this, SLOT(updateLineNumberAreaWidth(int))); connect(this, SIGNAL(updateRequest(QRect,int)), this, SLOT(updateLineNumberArea(QRect,int))); - connect(this, SIGNAL(cursorPositionChanged()), this, SLOT(highlightCurrentLine())); updateLineNumberAreaWidth(0); }