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>
This commit is contained in:
hjk
2013-05-25 01:47:26 +02:00
parent 4e75fc8c54
commit cfc8ce8c1b
52 changed files with 29 additions and 398 deletions

View File

@@ -33,7 +33,6 @@
#include <QDialog>
QT_BEGIN_NAMESPACE
class QPushButton;
class QModelIndex;
QT_END_NAMESPACE
@@ -52,7 +51,8 @@ class BranchModel;
* branches below. Offers to checkout/delete local branches.
*
*/
class BranchDialog : public QDialog {
class BranchDialog : public QDialog
{
Q_OBJECT
public:
@@ -74,16 +74,11 @@ private slots:
void merge();
void rebase();
protected:
void changeEvent(QEvent *e);
private:
QModelIndex selectedIndex();
Ui::BranchDialog *m_ui;
BranchModel *m_model;
QString m_repository;
};