it is just a convenience function for connect that was added in Qt 5.12. Currently the minimum we require is 5.10
so just use connect.
Details
Details
- Reviewers
ngraham - Group Reviewers
Spectacle - Commits
- R166:bdbe5589a998: Don't use QTimer::callOnTimeout
Diff Detail
Diff Detail
- Repository
- R166 Spectacle
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Good call
src/Gui/KSMainWindow.cpp | ||
---|---|---|
219–220 | In general for readability, the preferred connect syntax is to put the 3rd and 4th arguments on a new line, like this: connect(mHideMessageWidgetTimer, &QTimer::timeout, mMessageWidget, &KMessageWidget::animatedHide); |
src/Gui/KSMainWindow.cpp | ||
---|---|---|
219–220 | Thanks for the tip, makes sense. |