summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp4
-rw-r--r--noncore/multimedia/tonleiter/editinst.cpp4
-rw-r--r--noncore/multimedia/tonleiter/editscale.cpp4
3 files changed, 9 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp
index 2c54ae6..4242aa6 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.cpp
+++ b/noncore/multimedia/opieplayer2/audiowidget.cpp
@@ -35,8 +35,10 @@
#include "audiowidget.h"
#include "mediaplayerstate.h"
#include "playlistwidget.h"
+#include <qpe/qpeapplication.h>
+
namespace
{
const int xo = -2; // movable x offset
@@ -144,9 +146,9 @@ void AudioWidget::setLength( long max ) {
void AudioWidget::setDisplayType( MediaPlayerState::DisplayType mediaType ) {
if ( mediaType == MediaPlayerState::Audio ) {
// startTimer( 150 );
- showMaximized();
+ QPEApplication::showDialog( this );
return;
}
killTimers();
diff --git a/noncore/multimedia/tonleiter/editinst.cpp b/noncore/multimedia/tonleiter/editinst.cpp
index f172ef8..5616569 100644
--- a/noncore/multimedia/tonleiter/editinst.cpp
+++ b/noncore/multimedia/tonleiter/editinst.cpp
@@ -2,8 +2,10 @@
#include <qlabel.h>
#include <qpushbutton.h>
+#include <qpe/qpeapplication.h>
+
Menu::InstEditDialog::InstEditDialog(TonleiterData* data,QWidget* parent,const char* name)
:QDialog(parent,name,true,0),data(data)
{
setCaption("Tonleiter::"+tr("Instrument"));
@@ -53,9 +55,9 @@ Menu::InstEditDialog::InstEditDialog(TonleiterData* data,QWidget* parent,const c
QPushButton* addlowButton=new QPushButton(tr("Add Low String"),this,"addlowButton");
masterlayout->addWidget(addlowButton);
//make dialog fit the screen
- showMaximized();
+ QPEApplication::showDialog( this );
}
//****************************************************************************
Menu::InstEditDialog::~InstEditDialog()
{
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 @@
#include <qlayout.h>
#include <qpushbutton.h>
+#include <qpe/qpeapplication.h>
+
Menu::ScaleEditDialog::ScaleEditDialog(TonleiterData* data,QWidget* parent,const char* name)
:QDialog(parent,name,true,0),data(data)
{
setCaption("Tonleiter::"+tr("Scale"));
@@ -35,9 +37,9 @@ Menu::ScaleEditDialog::ScaleEditDialog(TonleiterData* data,QWidget* parent,const
pianoscale=new PianoScale(this);
masterlayout->addWidget(pianoscale);
//make dialog fit the screen
- showMaximized();
+ QPEApplication::showDialog( this );
}
//****************************************************************************
Menu::ScaleEditDialog::~ScaleEditDialog()
{