Skip to content

Commit 3271969

Browse files
authored
Use Q_EMIT for compatibility with codebases with QT_NO_KEYWORDS (#29)
1 parent 97cdee8 commit 3271969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/QCodeEditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ void QCodeEditor::wheelEvent(QWheelEvent *e)
145145
QFont newFont = font();
146146
newFont.setPointSize(newSize);
147147
setFont(newFont);
148-
emit fontChanged(newFont);
148+
Q_EMIT fontChanged(newFont);
149149
}
150150
}
151151
else

0 commit comments

Comments
 (0)