summaryrefslogtreecommitdiff
authorsandman <sandman>2002-12-08 16:10:24 (UTC)
committer sandman <sandman>2002-12-08 16:10:24 (UTC)
commit5fd10ba0772bb87598a3f4fd2e0fff8c3d4dbe43 (patch) (side-by-side diff)
tree15febfc3bd4995417d9635d5294ccb188c719e34
parent76fda4ee71e83d46f31a77b6d433cefdf24b3e73 (diff)
downloadopie-5fd10ba0772bb87598a3f4fd2e0fff8c3d4dbe43.zip
opie-5fd10ba0772bb87598a3f4fd2e0fff8c3d4dbe43.tar.gz
opie-5fd10ba0772bb87598a3f4fd2e0fff8c3d4dbe43.tar.bz2
QPEApplication::showMainWidget only maximizes a QDialog if its width or
height are >= 3/4 * desktop width/height ...
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/launcher/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/settings/launcher/main.cpp b/core/settings/launcher/main.cpp
index dbcd624..f65dab8 100644
--- a/core/settings/launcher/main.cpp
+++ b/core/settings/launcher/main.cpp
@@ -15,28 +15,29 @@
    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
..}^=.=       =       ; Public License for more details.
++=   -.     .`     .:
 :     =  ...= . :.=- You should have received a copy of the GNU
 -.   .:....=;==+<; General Public License along with this file;
  -_. . .   )=.  = see the file COPYING. If not, write to the
    --        :-=` Free Software Foundation, Inc.,
59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include "launchersettings.h"
#include <qpe/qpeapplication.h>
int main ( int argc, char** argv )
{
QPEApplication a ( argc,argv );
LauncherSettings dlg;
a. showMainWidget ( &dlg );
+ dlg. showMaximized ( );
return a. exec ( );
}