From 4bff9b2c225856248d1ed8bf8910f6876c53a835 Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:47:03 -0700 Subject: [PATCH] delete obsolete slot. (#1381) this should have been deleted in #681 (8bfb2c52f2731b0a01ebfe6d840fb9d19ba6f51c) --- gui/mainwindow.cc | 10 ---------- gui/mainwindow.h | 1 - 2 files changed, 11 deletions(-) diff --git a/gui/mainwindow.cc b/gui/mainwindow.cc index 054169a4c..e1b0ad734 100644 --- a/gui/mainwindow.cc +++ b/gui/mainwindow.cc @@ -241,16 +241,6 @@ MainWindow::MainWindow(QWidget* parent): QMainWindow(parent) } } -//------------------------------------------------------------------------ -// Called every time, when a menu entry of the language menu is called -void MainWindow::slotLanguageChanged(QAction* action) -{ - if (nullptr != action) { - // load the language dependant on the action content. - loadLanguage(action->data().toString()); - } -} - void MainWindow::switchTranslator(QTranslator& translator, const QString& filename) { // remove the old translator diff --git a/gui/mainwindow.h b/gui/mainwindow.h index 641955577..c4e724204 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -137,7 +137,6 @@ private slots: void visitWebsiteActionX(); void resetFormatDefaults(); void upgradeCheckActionX(); - void slotLanguageChanged(QAction* action); };