Fix deprecation warning
ClosedPublic

Authored by kfunk on Oct 15 2017, 6:18 PM.

Details

Summary

Warning:

/home/kfunk/devel/src/kf5/ktexteditor/src/dialogs/katedialogs.cpp:1455:11:
warning: 'runUrl' is deprecated [-Wdeprecated-declarations]
    KRun::runUrl(url, QStringLiteral("text/x-patch"), nullptr, true);
          ^
/home/kfunk/devel/install/kf5/include/KF5/KIOWidgets/krun.h:302:17:
note: 'runUrl' has been explicitly marked deprecated here
    static bool KIOWIDGETS_DEPRECATED runUrl(const QUrl &url, const QString &mimetype, QWidget *window,
                ^

Diff Detail

Repository
R39 KTextEditor
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kfunk created this revision.Oct 15 2017, 6:18 PM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptOct 15 2017, 6:18 PM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
apol accepted this revision.Oct 15 2017, 9:27 PM
This revision is now accepted and ready to land.Oct 15 2017, 9:27 PM
This revision was automatically updated to reflect the committed changes.