Skip to content

Commit 7aefdeb

Browse files
versatdanmar
authored andcommitted
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.
1 parent 1b4f4d7 commit 7aefdeb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

gui/codeeditor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ CodeEditor::CodeEditor(QWidget *parent) : QPlainTextEdit(parent)
138138

139139
connect(this, SIGNAL(blockCountChanged(int)), this, SLOT(updateLineNumberAreaWidth(int)));
140140
connect(this, SIGNAL(updateRequest(QRect,int)), this, SLOT(updateLineNumberArea(QRect,int)));
141-
connect(this, SIGNAL(cursorPositionChanged()), this, SLOT(highlightCurrentLine()));
142141

143142
updateLineNumberAreaWidth(0);
144143
}

0 commit comments

Comments
 (0)