From 6506eeeeaa8d52ae0895630de00e38bc2b8ff10c Mon Sep 17 00:00:00 2001 From: ar Date: Sun, 08 Feb 2004 16:09:19 +0000 Subject: improve support for BigScreen --- (limited to 'core/settings') diff --git a/core/settings/button/buttonsettings.cpp b/core/settings/button/buttonsettings.cpp index 523e295..141e0f6 100644 --- a/core/settings/button/buttonsettings.cpp +++ b/core/settings/button/buttonsettings.cpp @@ -214,8 +214,7 @@ void ButtonSettings::edit ( buttoninfo *bi, bool hold ) RemapDlg *d = new RemapDlg ( bi-> m_button, hold, this ); - d-> showMaximized ( ); - if ( d-> exec ( ) == QDialog::Accepted ) { + if ( QPEApplication::execDialog ( d ) == QDialog::Accepted ) { if ( hold ) { diff --git a/core/settings/launcher/tabssettings.cpp b/core/settings/launcher/tabssettings.cpp index a3d31a5..17a1609 100644 --- a/core/settings/launcher/tabssettings.cpp +++ b/core/settings/launcher/tabssettings.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include #include @@ -300,8 +301,7 @@ void TabsSettings::editClicked ( ) TabDialog *d = new TabDialog ( m_list-> pixmap ( ind ), m_list-> text ( ind ), tc, this, "TabDialog", true ); - d-> showMaximized ( ); - if ( d-> exec ( ) == QDialog::Accepted ) { + if ( QPEApplication::execDialog( d ) == QDialog::Accepted ) { tc. m_changed = true; m_tabs [m_ids [ind]] = tc; diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index b21215b..60f7417 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp @@ -210,8 +210,7 @@ void LightSettings::calibrateSensorAC ( ) { Sensor *s = new Sensor ( m_sensordata_ac, this ); connect ( s, SIGNAL( viewBacklight ( int )), this, SLOT( setBacklight ( int ))); - s-> showMaximized ( ); - s-> exec ( ); + QPEApplication::execDialog ( s ); delete s; } diff --git a/core/settings/security/security.cpp b/core/settings/security/security.cpp index 7bb14cd..34f7e50 100644 --- a/core/settings/security/security.cpp +++ b/core/settings/security/security.cpp @@ -102,7 +102,7 @@ updateGUI(); dl = new QPEDialogListener(this); - showMaximized(); + QPEApplication::showDialog( this ); } Security::~Security() -- cgit v0.9.0.2