forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user