Remove Check updates button and Auto check updates option. Upstream status: Guix-specific, not forwarded upstream. diff --git a/src/dialogoptions.cpp b/src/dialogoptions.cpp index 704e75c..bb3f9b0 100755 --- a/src/dialogoptions.cpp +++ b/src/dialogoptions.cpp @@ -71,23 +71,10 @@ void DialogOptions::setOverwriteMode() IniSettings::setOverwriteMode(true); } -void DialogOptions::setAutoUpdates() -{ - bool enabled; - - if (checkCheckUpdates->isChecked()) - enabled = true; - else - enabled = false; - - IniSettings::setAutoChechUpdates(enabled); -} - void DialogOptions::saveOptions() { setLanguage(); setOverwriteMode(); - setAutoUpdates(); IniSettings::settings->sync(); accept(); @@ -102,12 +89,6 @@ void DialogOptions::loadSettings() else radioAskFirst->setChecked(true); - bool autoUpdates = IniSettings::isAutoChechUpdates(); - if (autoUpdates) - checkCheckUpdates->setCheckState(Qt::Checked); - else - checkCheckUpdates->setCheckState(Qt::Unchecked); - Translator t; int idx = comboLangs->findText(t.currentLanguage(), Qt::MatchExactly); diff --git a/src/mainwindowimpl.cpp b/src/mainwindowimpl.cpp index 2b6d68d..83a365f 100755 --- a/src/mainwindowimpl.cpp +++ b/src/mainwindowimpl.cpp @@ -164,7 +164,6 @@ void MainWindowImpl::createActions() connect(actionInfo, SIGNAL(triggered()), this, SLOT(about())); connect(actionDonatePaypal, SIGNAL(triggered()), this, SLOT(openPaypalLink())); connect(actionReportBug, SIGNAL(triggered()), this, SLOT(bugReport())); - connect(actionCheckForUpdates, SIGNAL(triggered()), this, SLOT(checkForUpdates())); } void MainWindowImpl::setupMenu() diff --git a/ui/dialogoptions.ui b/ui/dialogoptions.ui index e59148d..6cb23f5 100755 --- a/ui/dialogoptions.ui +++ b/ui/dialogoptions.ui @@ -66,22 +66,6 @@ - - - - Updates - - - - - - Checks for updates automatically - - - - - - diff --git a/ui/mainwindow.ui b/ui/mainwindow.ui index a5f55f0..28df8cc 100755 --- a/ui/mainwindow.ui +++ b/ui/mainwindow.ui @@ -190,7 +190,6 @@ - @@ -1365,14 +1364,6 @@ p, li { white-space: pre-wrap; } Import windows icon (*.ico *.icon) - - - &Check for updates - - - Check if a new version of Converseen is available - - et the placeholder reflect actual usage. * etc/snippets/tempel/scheme-mode (git-reference...)[commit]: Use field name as placeholder and don't quote value. (svn-reference..., bzr-reference...)[revision]: Likewise. (hg-reference...)[changeset]: Likewise. Liliana Marie Prikler 2022-08-30etc: Add tempel snippet for :phases....* etc/snippets/tempel/scheme-mode (:phases, add-before\ , add-after\ ) (replace\ ): New snippets. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Nicolas Graves 2022-08-30etc: Add tempel snippets....* etc/snippets/tempel/scheme-mode: New file. * etc/snippets/tempel/text-mode: New file. * etc/snippets/scheme-mode: Moved from here... * etc/snippets/yas/scheme-mode: ... to here. * etc/snippets/text-mode: Moved from here... * etc/snippets/yas/text-mode: ... to here. * doc/contributing.texi ("The Perfect Setup"): Adjust yasnippet setup accordingly. Add tempel setup. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Nicolas Graves