Commit 77db2919 authored by Volker Krause's avatar Volker Krause
Browse files

Build with Qt 5.14

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D27746
parent a1f1b935
......@@ -1362,14 +1362,17 @@ void KOPrefsDialogPlugins::usrReadConfig()
mOthers->setExpanded(true);
//Disable for the moment it crashs. Not understand why
#if 1//QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
mDecorationsAtMonthViewTop = KOPrefs::instance()->decorationsAtMonthViewTop().toSet();
mDecorationsAtAgendaViewTop = viewPrefs->decorationsAtAgendaViewTop().toSet();
mDecorationsAtAgendaViewBottom = viewPrefs->decorationsAtAgendaViewBottom().toSet();
#else
mDecorationsAtMonthViewTop = QSet<QString>(KOPrefs::instance()->decorationsAtMonthViewTop().begin(), KOPrefs::instance()->decorationsAtMonthViewTop().end());
mDecorationsAtAgendaViewTop = QSet<QString>(viewPrefs->decorationsAtAgendaViewTop().begin(), viewPrefs->decorationsAtAgendaViewTop().end());
mDecorationsAtAgendaViewBottom = QSet<QString>(viewPrefs->decorationsAtAgendaViewBottom().begin(), viewPrefs->decorationsAtAgendaViewBottom().end());
const auto monthViewTop = KOPrefs::instance()->decorationsAtMonthViewTop();
mDecorationsAtMonthViewTop = QSet<QString>(monthViewTop.begin(), monthViewTop.end());
const auto agendaViewTop = viewPrefs->decorationsAtAgendaViewTop();
mDecorationsAtAgendaViewTop = QSet<QString>(agendaViewTop.begin(), agendaViewTop.end());
const auto agendaViewBottom = viewPrefs->decorationsAtAgendaViewBottom();
mDecorationsAtAgendaViewBottom = QSet<QString>(agendaViewBottom.begin(), agendaViewBottom.end());
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment