From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Wed, 13 Nov 2024 18:47:03 +0000 (-0700) Subject: delete obsolete slot. (#1381) X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4bff9b2c225856248d1ed8bf8910f6876c53a835;p=gpsbabel.git delete obsolete slot. (#1381) this should have been deleted in #681 (8bfb2c52f2731b0a01ebfe6d840fb9d19ba6f51c) --- 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); };