aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core-utils')
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_session_options.cpp3
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_session_options.ui9
2 files changed, 11 insertions, 1 deletions
diff --git a/src-qt5/core-utils/lumina-config/pages/page_session_options.cpp b/src-qt5/core-utils/lumina-config/pages/page_session_options.cpp
index 5a1ed1d4..51fe7411 100644
--- a/src-qt5/core-utils/lumina-config/pages/page_session_options.cpp
+++ b/src-qt5/core-utils/lumina-config/pages/page_session_options.cpp
@@ -33,6 +33,7 @@ page_session_options::page_session_options(QWidget *parent) : PageWidget(parent)
connect(ui->check_session_playlogoutaudio, SIGNAL(toggled(bool)), this, SLOT(settingChanged()) );
connect(ui->check_autoapplinks, SIGNAL(toggled(bool)), this, SLOT(settingChanged()) );
connect(ui->check_watch_app_procs, SIGNAL(toggled(bool)), this, SLOT(settingChanged()) );
+ connect(ui->check_quotes, SIGNAL(toggled(bool)), this, SLOT(settingChanged()) );
connect(ui->mywindowmanager, SIGNAL(currentIndexChanged(int)), this, SLOT(settingChanged()));
updateIcons();
}
@@ -53,6 +54,7 @@ void page_session_options::SaveSettings(){
sessionsettings.setValue("TimeFormat", ui->line_session_time->text());
sessionsettings.setValue("DateFormat", ui->line_session_date->text());
sessionsettings.setValue("DateTimeOrder", ui->combo_session_datetimeorder->currentData().toString());
+ sessionsettings.setValue("DisableQuotes", ui->check_quotes->isChecked());
QString my_win = ui->mywindowmanager->currentData().toString();
// Warn user if they select a non-default window manager
@@ -97,6 +99,7 @@ void page_session_options::LoadSettings(int){
ui->check_session_playloginaudio->setChecked( sessionsettings.value("PlayStartupAudio",true).toBool() );
ui->check_session_playlogoutaudio->setChecked( sessionsettings.value("PlayLogoutAudio",true).toBool() );
ui->check_autoapplinks->setChecked( sessionsettings.value("AutomaticDesktopAppLinks",true).toBool() );
+ ui->check_quotes->setChecked( sessionsettings.value("DisableQuotes",true).toBool() );
ui->push_session_setUserIcon->setIcon( LXDG::findIcon(QDir::homePath()+"/.loginIcon.png", "user-identity") );
ui->line_session_time->setText( sessionsettings.value("TimeFormat","").toString() );
ui->line_session_date->setText( sessionsettings.value("DateFormat","").toString() );
diff --git a/src-qt5/core-utils/lumina-config/pages/page_session_options.ui b/src-qt5/core-utils/lumina-config/pages/page_session_options.ui
index 25c92919..38e81bc6 100644
--- a/src-qt5/core-utils/lumina-config/pages/page_session_options.ui
+++ b/src-qt5/core-utils/lumina-config/pages/page_session_options.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>512</width>
- <height>300</height>
+ <height>315</height>
</rect>
</property>
<property name="windowTitle">
@@ -67,6 +67,13 @@
</widget>
</item>
<item>
+ <widget class="QCheckBox" name="check_quotes">
+ <property name="text">
+ <string>Disable Startup Quotes</string>
+ </property>
+ </widget>
+ </item>
+ <item>
<layout class="QHBoxLayout" name="horizontalLayout_14">
<item>
<widget class="QPushButton" name="push_session_setUserIcon">
bgstack15