summaryrefslogtreecommitdiffstats
path: root/src/komposepreferences.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-04-23 15:01:18 +0300
committerMavridis Philippe <mavridisf@gmail.com>2021-04-24 16:25:29 +0300
commit48f570eda8454b994fcee55841f4ca4b585dc460 (patch)
treee97091fad1c60dfe3acdb2c253b47d49c6125b6f /src/komposepreferences.cpp
parent0267f1cf497043a04a5367a33a0d66ae5e879705 (diff)
downloadkompose-48f570eda8454b994fcee55841f4ca4b585dc460.tar.gz
kompose-48f570eda8454b994fcee55841f4ca4b585dc460.zip
Temporarily disabled "Show empty desktops minimized" option.
This commit was not squashed so that it can be easily undone when issue #10 is solved. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/komposepreferences.cpp')
-rw-r--r--src/komposepreferences.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/komposepreferences.cpp b/src/komposepreferences.cpp
index 91bae6f..a66156c 100644
--- a/src/komposepreferences.cpp
+++ b/src/komposepreferences.cpp
@@ -258,10 +258,12 @@ KomposePreferences::KomposePreferences()
TQVBoxLayout *page3Layout = new TQVBoxLayout( page3, 0, KDialog::spacingHint() );
TQVGroupBox *virtDesksLayoutGroupBox = new TQVGroupBox( i18n("Grouped by Virtual Desktops"), page3 );
+ /*
dynamicVirtDeskLayout = new TQCheckBox(i18n("Layout empty virtual desktops minimized"), virtDesksLayoutGroupBox );
TQString dynamicVirtDeskLayoutHelp = i18n("Check this if you want empty virtual desktops to take less space on the screen.\nUncheck it if you want them to be arranged statically, each of the same size.");
TQWhatsThis::add( dynamicVirtDeskLayout, dynamicVirtDeskLayoutHelp );
TQToolTip::add( dynamicVirtDeskLayout, dynamicVirtDeskLayoutHelp );
+ */
TQGrid *desktopColorsGroupBox = new TQGrid( 2, virtDesksLayoutGroupBox );
desktopColorsGroupBox->setSpacing( 4 );
@@ -337,7 +339,7 @@ void KomposePreferences::fillPages()
passiveScreenshots->setChecked( KomposeSettings::instance()->getPassiveScreenshots() );
screenshotGrabDelay->setValue( KomposeSettings::instance()->getScreenshotGrabDelay() / 1000000 );
cacheScaledPixmaps->setChecked( KomposeSettings::instance()->getCacheScaledPixmaps() );
- dynamicVirtDeskLayout->setChecked( KomposeSettings::instance()->getDynamicVirtDeskLayout() );
+ // dynamicVirtDeskLayout->setChecked( KomposeSettings::instance()->getDynamicVirtDeskLayout() );
imageEffects->setChecked( KomposeSettings::instance()->getImageEffects() );
blurBackground->setChecked( KomposeSettings::instance()->getBlurBackground() );
@@ -407,7 +409,7 @@ void KomposePreferences::slotApply()
KomposeSettings::instance()->setPassiveScreenshots( passiveScreenshots->isChecked() );
KomposeSettings::instance()->setScreenshotGrabDelay( screenshotGrabDelay->value() * 1000000 );
KomposeSettings::instance()->setCacheScaledPixmaps( cacheScaledPixmaps->isChecked() );
- KomposeSettings::instance()->setDynamicVirtDeskLayout( dynamicVirtDeskLayout->isChecked() );
+ // KomposeSettings::instance()->setDynamicVirtDeskLayout( dynamicVirtDeskLayout->isChecked() );
KomposeSettings::instance()->setImageEffects( imageEffects->isChecked() );
KomposeSettings::instance()->setBlurBackground( blurBackground->isChecked() );
KomposeSettings::instance()->setShowDesktopNum( showDesktopNum->isChecked() );