summaryrefslogtreecommitdiff
path: root/src/plugins/git/branchdialog.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-05-25 01:47:26 +0200
committerhjk <hjk121@nokiamail.com>2013-05-27 08:58:51 +0200
commitcfc8ce8c1bc49a8cf865aedaef9e07dc577de768 (patch)
tree60f08b8cf9ece7c3a607627b0c7bda009a743be4 /src/plugins/git/branchdialog.cpp
parent4e75fc8c54c8cfce49112f7aa23861b53a3ed844 (diff)
downloadqt-creator-cfc8ce8c1bc49a8cf865aedaef9e07dc577de768.tar.gz
Remove changeEvent(QEvent::LanguageChange) implementation
This was implemented only for a small set of widgets. It's unlikely that we will ever have or even want a dynamic language selection, until then this code is only dead freight. Change-Id: I1bff4e1e89057786c0e5cb57225a508c5d390d9c Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/git/branchdialog.cpp')
-rw-r--r--src/plugins/git/branchdialog.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/plugins/git/branchdialog.cpp b/src/plugins/git/branchdialog.cpp
index 40574ef1c5..2c7dca4b28 100644
--- a/src/plugins/git/branchdialog.cpp
+++ b/src/plugins/git/branchdialog.cpp
@@ -312,18 +312,6 @@ void BranchDialog::rebase()
stashGuard.preventPop();
}
-void BranchDialog::changeEvent(QEvent *e)
-{
- QDialog::changeEvent(e);
- switch (e->type()) {
- case QEvent::LanguageChange:
- m_ui->retranslateUi(this);
- break;
- default:
- break;
- }
-}
-
QModelIndex BranchDialog::selectedIndex()
{
QModelIndexList selected = m_ui->branchView->selectionModel()->selectedIndexes();