Fixes #1151 (applied the same trick to the GeneralEdit window)

This commit is contained in:
bsongis
2014-06-11 09:30:52 +02:00
parent 43a7434ae5
commit 3fe75fac59
2 changed files with 62 additions and 9 deletions
+6 -2
View File
@@ -12,12 +12,12 @@ class GeneralEdit : public QDialog
{
Q_OBJECT
public:
public:
explicit GeneralEdit(RadioData &radioData, QWidget *parent = 0);
~GeneralEdit();
void updateSettings();
private:
private:
Ui::GeneralEdit *ui;
RadioData &radioData;
GeneralSettings g_eeGeneral;
@@ -28,6 +28,10 @@ private:
void getGeneralSwitchDefPos(int i, bool val);
void setSwitchDefPos();
void updateVarioPitchRange();
void disableMouseScrolling();
protected:
virtual bool eventFilter(QObject *obj, QEvent *event);
signals:
void modelValuesChanged();