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.
This commit is contained in:
Sebastian 2018-04-18 15:42:03 +02:00 committed by Daniel Marjamäki
parent 1b4f4d7130
commit 7aefdeb089
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}