Commit f168e745 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

For the moment disable convert code as it crashs. No idea why for the

moment
parent e98bd968
......@@ -1355,14 +1355,15 @@ void KOPrefsDialogPlugins::usrReadConfig()
mDecorations->setExpanded(true);
mOthers->setExpanded(true);
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
//Disable for the moment it crashs. Not understand why
#if 1//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(), KOPrefs::instance()->decorationsAtAgendaViewTop().end());
mDecorationsAtAgendaViewBottom = QSet<QString>(viewPrefs->decorationsAtAgendaViewBottom().begin(), KOPrefs::instance()->decorationsAtAgendaViewBottom().end());
mDecorationsAtAgendaViewTop = QSet<QString>(viewPrefs->decorationsAtAgendaViewTop().begin(), viewPrefs->decorationsAtAgendaViewTop().end());
mDecorationsAtAgendaViewBottom = QSet<QString>(viewPrefs->decorationsAtAgendaViewBottom().begin(), viewPrefs->decorationsAtAgendaViewBottom().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