diff options
author | hjk <hjk121@nokiamail.com> | 2013-05-25 01:47:26 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-05-27 08:58:51 +0200 |
commit | cfc8ce8c1bc49a8cf865aedaef9e07dc577de768 (patch) | |
tree | 60f08b8cf9ece7c3a607627b0c7bda009a743be4 /src/plugins/git/branchdialog.cpp | |
parent | 4e75fc8c54c8cfce49112f7aa23861b53a3ed844 (diff) | |
download | qt-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.cpp | 12 |
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(); |