Changeset View
Changeset View
Standalone View
Standalone View
step/gascreationdialog.h
Show All 32 Lines | |||||
33 | 33 | | |||
34 | 34 | | |||
35 | class GasCreationDialog: public QDialog | 35 | class GasCreationDialog: public QDialog | ||
36 | { | 36 | { | ||
37 | Q_OBJECT | 37 | Q_OBJECT | ||
38 | 38 | | |||
39 | public: | 39 | public: | ||
40 | GasCreationDialog(GasMenuHandler* handler, StepCore::Gas *gas, | 40 | GasCreationDialog(GasMenuHandler* handler, StepCore::Gas *gas, | ||
41 | QWidget *parent=0, Qt::WFlags flags=0); | 41 | QWidget *parent=0); | ||
cfeck: Maybe completely remove the Qt::WindowFlags stuff. In older Qt versions, it wasn't optional… | |||||
42 | 42 | | |||
43 | Ui::WidgetCreateGasParticles *ui(); | 43 | Ui::WidgetCreateGasParticles *ui(); | ||
44 | 44 | | |||
45 | protected: | 45 | protected: | ||
46 | Ui::WidgetCreateGasParticles *_ui; | 46 | Ui::WidgetCreateGasParticles *_ui; | ||
47 | 47 | | |||
48 | StepCore::Gas *_gas; | 48 | StepCore::Gas *_gas; | ||
49 | GasMenuHandler *_handler; | 49 | GasMenuHandler *_handler; | ||
50 | }; | 50 | }; | ||
51 | 51 | | |||
52 | #endif | 52 | #endif |
Maybe completely remove the Qt::WindowFlags stuff. In older Qt versions, it wasn't optional, and some previous porting retained it. I think we removed it elsewhere.