diff --git a/doc/index.docbook b/doc/index.docbook --- a/doc/index.docbook +++ b/doc/index.docbook @@ -256,12 +256,6 @@ - Remember last used Save mode - - The default behavior of the save button is to display Save As. Choosing another save mode by clicking on the arrow portion of the button will make that save mode the default one. Disable this option to make the button stop remembering the last used save mode - - - Copy save location to clipboard When a screenshot is saved, copy the location at which the file was saved to the clipboard. You can then paste it anywhere that accepts diff --git a/src/Gui/SettingsDialog/GeneralOptionsPage.h b/src/Gui/SettingsDialog/GeneralOptionsPage.h --- a/src/Gui/SettingsDialog/GeneralOptionsPage.h +++ b/src/Gui/SettingsDialog/GeneralOptionsPage.h @@ -43,7 +43,6 @@ private: - QCheckBox *mUseLastSaveAction; QCheckBox *mRememberRect; QCheckBox *mUseLightBackground; QCheckBox *mCopyPathToClipboard; diff --git a/src/Gui/SettingsDialog/GeneralOptionsPage.cpp b/src/Gui/SettingsDialog/GeneralOptionsPage.cpp --- a/src/Gui/SettingsDialog/GeneralOptionsPage.cpp +++ b/src/Gui/SettingsDialog/GeneralOptionsPage.cpp @@ -35,19 +35,12 @@ QVBoxLayout *mainLayout = new QVBoxLayout(this); - // dynamic save button - - mUseLastSaveAction = new QCheckBox(i18n("Remember last used Save mode"), this); - connect(mUseLastSaveAction, &QCheckBox::toggled, this, &GeneralOptionsPage::markDirty); - mainLayout->addWidget(mUseLastSaveAction, 1); - // copy save path to clipboard mCopyPathToClipboard = new QCheckBox(i18n("Copy save location to the clipboard"), this); connect(mCopyPathToClipboard, &QCheckBox::toggled, this, &GeneralOptionsPage::markDirty); mainLayout->addWidget(mCopyPathToClipboard, 1); - // Rectangular Region settings QGroupBox *rrGroup = new QGroupBox(i18n("Rectangular Region")); @@ -92,7 +85,6 @@ { SpectacleConfig *cfgManager = SpectacleConfig::instance(); - cfgManager->setUseDynamicSaveButton(mUseLastSaveAction->checkState() == Qt::Checked); cfgManager->setUseLightRegionMaskColour(mUseLightBackground->checkState() == Qt::Checked); cfgManager->setRememberLastRectangularRegion(mRememberRect->checkState() == Qt::Checked); cfgManager->setCopySaveLocationToClipboard(mCopyPathToClipboard->checkState() == Qt::Checked); @@ -104,7 +96,6 @@ { SpectacleConfig *cfgManager = SpectacleConfig::instance(); - mUseLastSaveAction->setChecked(cfgManager->useDynamicSaveButton()); mUseLightBackground->setChecked(cfgManager->useLightRegionMaskColour()); mRememberRect->setChecked(cfgManager->rememberLastRectangularRegion()); mCopyPathToClipboard->setChecked(cfgManager->copySaveLocationToClipboard());