Diffstat (limited to 'noncore/multimedia/tonleiter/editscale.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/tonleiter/editscale.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/multimedia/tonleiter/editscale.cpp b/noncore/multimedia/tonleiter/editscale.cpp index 0be0058..28bd579 100644 --- a/noncore/multimedia/tonleiter/editscale.cpp +++ b/noncore/multimedia/tonleiter/editscale.cpp | |||
@@ -2,8 +2,10 @@ | |||
2 | 2 | ||
3 | #include <qlayout.h> | 3 | #include <qlayout.h> |
4 | #include <qpushbutton.h> | 4 | #include <qpushbutton.h> |
5 | 5 | ||
6 | #include <qpe/qpeapplication.h> | ||
7 | |||
6 | Menu::ScaleEditDialog::ScaleEditDialog(TonleiterData* data,QWidget* parent,const char* name) | 8 | Menu::ScaleEditDialog::ScaleEditDialog(TonleiterData* data,QWidget* parent,const char* name) |
7 | :QDialog(parent,name,true,0),data(data) | 9 | :QDialog(parent,name,true,0),data(data) |
8 | { | 10 | { |
9 | setCaption("Tonleiter::"+tr("Scale")); | 11 | setCaption("Tonleiter::"+tr("Scale")); |
@@ -35,9 +37,9 @@ Menu::ScaleEditDialog::ScaleEditDialog(TonleiterData* data,QWidget* parent,const | |||
35 | pianoscale=new PianoScale(this); | 37 | pianoscale=new PianoScale(this); |
36 | masterlayout->addWidget(pianoscale); | 38 | masterlayout->addWidget(pianoscale); |
37 | 39 | ||
38 | //make dialog fit the screen | 40 | //make dialog fit the screen |
39 | showMaximized(); | 41 | QPEApplication::showDialog( this ); |
40 | } | 42 | } |
41 | //**************************************************************************** | 43 | //**************************************************************************** |
42 | Menu::ScaleEditDialog::~ScaleEditDialog() | 44 | Menu::ScaleEditDialog::~ScaleEditDialog() |
43 | { | 45 | { |