Changeset View
Changeset View
Standalone View
Standalone View
kcms/componentchooser/componentchooserfilemanager.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
48 | void CfgFileManager::defaults() | 48 | void CfgFileManager::defaults() | ||
49 | { | 49 | { | ||
50 | load(nullptr); | 50 | load(nullptr); | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | bool CfgFileManager::isDefaults() const | 53 | bool CfgFileManager::isDefaults() const | ||
54 | { | 54 | { | ||
55 | if (!mDynamicRadioButtons.isEmpty()) { | 55 | if (!mDynamicRadioButtons.isEmpty()) { | ||
56 | return !mDynamicRadioButtons.first()->isChecked(); | 56 | return !mDynamicRadioButtons.last()->isChecked(); | ||
57 | } else { | 57 | } else { | ||
58 | return false; | 58 | return false; | ||
59 | } | 59 | } | ||
60 | } | 60 | } | ||
61 | 61 | | |||
62 | static KService::List appOffers() | 62 | static KService::List appOffers() | ||
63 | { | 63 | { | ||
64 | return KMimeTypeTrader::self()->query(QStringLiteral("inode/directory"), QStringLiteral("Application")); | 64 | return KMimeTypeTrader::self()->query(QStringLiteral("inode/directory"), QStringLiteral("Application")); | ||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |