Qt5 code as apps is qt6 only.

This commit is contained in:
Laurent Montel 2023-12-15 21:41:40 +01:00
parent c700e0a4b9
commit b69efbe601

View file

@ -21,11 +21,7 @@
ApplicationListModel::ApplicationListModel(QObject *parent)
: QAbstractListModel(parent)
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
connect(KSycoca::self(), qOverload<const QStringList &>(&KSycoca::databaseChanged), this, &ApplicationListModel::sycocaDbChanged);
#else
connect(KSycoca::self(), &KSycoca::databaseChanged, this, &ApplicationListModel::sycocaDbChanged);
#endif
}
ApplicationListModel::~ApplicationListModel() = default;