Skip to content

Commit

Permalink
delete obsolete slot. (#1381)
Browse files Browse the repository at this point in the history
this should have been deleted in #681
(8bfb2c5)
  • Loading branch information
tsteven4 authored Nov 13, 2024
1 parent 6a9f953 commit 4bff9b2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions gui/mainwindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion gui/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ private slots:
void visitWebsiteActionX();
void resetFormatDefaults();
void upgradeCheckActionX();
void slotLanguageChanged(QAction* action);


};
Expand Down

0 comments on commit 4bff9b2

Please sign in to comment.