Commit 27618752 authored by Philip Müller's avatar Philip Müller

[notifier] change default setup

parent 845224e9
......@@ -123,10 +123,10 @@ NotifierSettingsDialog::load()
QSettings settings( "manjaro", "manjaro-settings-manager" );
bool checkLanguagePackage = settings.value( "notifications/checkLanguagePackages", true ).toBool();
bool checkUnsupportedKernel = settings.value( "notifications/checkUnsupportedKernel", true ).toBool();
bool checkUnsupportedKernelRunning = settings.value( "notifications/checkUnsupportedKernelRunning", false ).toBool();
bool checkUnsupportedKernelRunning = settings.value( "notifications/checkUnsupportedKernelRunning", true ).toBool();
bool checkNewKernel = settings.value( "notifications/checkNewKernel", true ).toBool();
bool checkNewKernelLts = settings.value( "notifications/checkNewKernelLts", false ).toBool();
bool checkNewKernelRecommended = settings.value( "notifications/checkNewKernelRecommended", true ).toBool();
bool checkNewKernelLts = settings.value( "notifications/checkNewKernelLts", true ).toBool();
bool checkNewKernelRecommended = settings.value( "notifications/checkNewKernelRecommended", false ).toBool();
ui->checkLanguagePackage->setChecked( checkLanguagePackage );
ui->checkUnsupportedKernelBox->setChecked( checkUnsupportedKernel );
......
......@@ -291,10 +291,10 @@ Notifier::loadConfiguration()
QSettings settings( "manjaro", "manjaro-settings-manager" );
m_checkLanguagePackage = settings.value( "notifications/checkLanguagePackages", true ).toBool();
m_checkUnsupportedKernel = settings.value( "notifications/checkUnsupportedKernel", true ).toBool();
m_checkUnsupportedKernelRunning = settings.value( "notifications/checkUnsupportedKernelRunning", false ).toBool();
m_checkUnsupportedKernelRunning = settings.value( "notifications/checkUnsupportedKernelRunning", true ).toBool();
m_checkNewKernel = settings.value( "notifications/checkNewKernel", true ).toBool();
m_checkNewKernelLts = settings.value( "notifications/checkNewKernelLts", false ).toBool();
m_checkNewKernelRecommended = settings.value( "notifications/checkNewKernelRecommended", true ).toBool();
m_checkNewKernelLts = settings.value( "notifications/checkNewKernelLts", true ).toBool();
m_checkNewKernelRecommended = settings.value( "notifications/checkNewKernelRecommended", false ).toBool();
m_checkKernel = m_checkUnsupportedKernel | m_checkNewKernel;
}
......
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