Changeset View
Changeset View
Standalone View
Standalone View
kcms/componentchooser/componentchooseremail.cpp
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | |||||
57 | 57 | | |||
58 | void CfgEmailClient::defaults() | 58 | void CfgEmailClient::defaults() | ||
59 | { | 59 | { | ||
60 | load(nullptr); | 60 | load(nullptr); | ||
61 | } | 61 | } | ||
62 | 62 | | |||
63 | bool CfgEmailClient::isDefaults() const | 63 | bool CfgEmailClient::isDefaults() const | ||
64 | { | 64 | { | ||
65 | return false; | 65 | return kmailCB->isChecked(); | ||
66 | } | 66 | } | ||
67 | 67 | | |||
68 | void CfgEmailClient::load(KConfig *) | 68 | void CfgEmailClient::load(KConfig *) | ||
69 | { | 69 | { | ||
70 | QString emailClient = pSettings->getSetting(KEMailSettings::ClientProgram); | 70 | QString emailClient = pSettings->getSetting(KEMailSettings::ClientProgram); | ||
71 | bool useKMail = (emailClient.isEmpty()); | 71 | bool useKMail = (emailClient.isEmpty()); | ||
72 | 72 | | |||
73 | kmailCB->setChecked(useKMail); | 73 | kmailCB->setChecked(useKMail); | ||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |