Changeset View
Changeset View
Standalone View
Standalone View
kcms/ksmserver/kcmsmserver.cpp
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Line(s) | 64 | { | |||
---|---|---|---|---|---|
66 | 66 | | |||
67 | setQuickHelp( i18n("<h1>Session Manager</h1>" | 67 | setQuickHelp( i18n("<h1>Session Manager</h1>" | ||
68 | " You can configure the session manager here." | 68 | " You can configure the session manager here." | ||
69 | " This includes options such as whether or not the session exit (logout)" | 69 | " This includes options such as whether or not the session exit (logout)" | ||
70 | " should be confirmed, whether the session should be restored again when logging in" | 70 | " should be confirmed, whether the session should be restored again when logging in" | ||
71 | " and whether the computer should be automatically shut down after session" | 71 | " and whether the computer should be automatically shut down after session" | ||
72 | " exit by default.")); | 72 | " exit by default.")); | ||
73 | 73 | | |||
74 | initFirmwareSetup(); | | |||
75 | checkFirmwareSetupRequested(); | | |||
76 | | ||||
77 | ui->firmwareSetupBox->hide(); | 74 | ui->firmwareSetupBox->hide(); | ||
78 | ui->firmwareSetupMessageWidget->hide(); | 75 | ui->firmwareSetupMessageWidget->hide(); | ||
79 | 76 | | |||
77 | initFirmwareSetup(); | ||||
78 | checkFirmwareSetupRequested(); | ||||
79 | | ||||
80 | addConfig(m_settings, this); | 80 | addConfig(m_settings, this); | ||
81 | } | 81 | } | ||
82 | 82 | | |||
83 | SMServerConfig::~SMServerConfig() = default; | 83 | SMServerConfig::~SMServerConfig() = default; | ||
84 | 84 | | |||
85 | void SMServerConfig::initFirmwareSetup() | 85 | void SMServerConfig::initFirmwareSetup() | ||
86 | { | 86 | { | ||
87 | m_rebootNowAction = new QAction(QIcon::fromTheme(QStringLiteral("system-reboot")), i18n("Restart Now")); | 87 | m_rebootNowAction = new QAction(QIcon::fromTheme(QStringLiteral("system-reboot")), i18n("Restart Now")); | ||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |