Fix build with gcc 4.8
ClosedPublic

Authored by wbauer on Jan 24 2018, 6:33 PM.

Details

Summary

When building current kstars with gcc 4.8, the build fails with errors like this:

error: no matching function for call to 'ProfileWizard::connect(QPointer<QProgressDialog>&, void (QProgressDialog::*)(), ProfileWizard::detectStellarMate()::__lambda220)'

See also https://bugreports.qt.io/browse/QTBUG-48988

This patch fixes it, similar as in other applications, e.g.
https://cgit.kde.org/kdevelop.git/commit/?h=5.2&id=6d5bdbba0a04d7180bda1f6bb47acb386575a561

Test Plan

Compiles fine now with gcc 4.8 and also newer versions.

Diff Detail

Repository
R321 KStars
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
wbauer created this revision.Jan 24 2018, 6:33 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptJan 24 2018, 6:33 PM
Restricted Application added a subscriber: KDE Edu. · View Herald Transcript
wbauer requested review of this revision.Jan 24 2018, 6:33 PM
wbauer edited the summary of this revision. (Show Details)
wbauer added a reviewer: mutlaqja.
mutlaqja accepted this revision.Jan 25 2018, 8:12 AM
This revision is now accepted and ready to land.Jan 25 2018, 8:12 AM
This revision was automatically updated to reflect the committed changes.