Commit 036cf112 authored by Laurent Montel's avatar Laurent Montel 😁

const'ify

parent 0afbf543
......@@ -43,9 +43,9 @@ AlarmDockWindow::AlarmDockWindow()
{
// Read the autostart status from the config file
KConfigGroup config( KGlobal::config(), "General" );
bool autostartSet = config.hasKey( "Autostart" );
bool autostart = config.readEntry( "Autostart", true );
bool alarmsEnabled = config.readEntry( "Enabled", true );
const bool autostartSet = config.hasKey( "Autostart" );
const bool autostart = config.readEntry( "Autostart", true );
const bool alarmsEnabled = config.readEntry( "Enabled", true );
mName = i18nc( "@title:window", "KOrganizer Reminder Daemon" );
setToolTipTitle( mName );
......
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