summaryrefslogtreecommitdiff
authorsandman <sandman>2002-12-08 16:10:24 (UTC)
committer sandman <sandman>2002-12-08 16:10:24 (UTC)
commit5fd10ba0772bb87598a3f4fd2e0fff8c3d4dbe43 (patch) (unidiff)
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
@@ -1,42 +1,43 @@
1/* 1/*
2               =. This file is part of the OPIE Project 2               =. This file is part of the OPIE Project
3             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> 3             .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org>
4           .>+-= 4           .>+-=
5 _;:,     .>    :=|. This file is free software; you can 5 _;:,     .>    :=|. This file is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under 6.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU General Public 7:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software 8.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License, 9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version. 10     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_. 11    .%`+i>       _;_.
12    .i_,=:_.      -<s. This file is distributed in the hope that 12    .i_,=:_.      -<s. This file is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of 14    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General 16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
17..}^=.=       =       ; Public License for more details. 17..}^=.=       =       ; Public License for more details.
18++=   -.     .`     .: 18++=   -.     .`     .:
19 :     =  ...= . :.=- You should have received a copy of the GNU 19 :     =  ...= . :.=- You should have received a copy of the GNU
20 -.   .:....=;==+<; General Public License along with this file; 20 -.   .:....=;==+<; General Public License along with this file;
21  -_. . .   )=.  = see the file COPYING. If not, write to the 21  -_. . .   )=.  = see the file COPYING. If not, write to the
22    --        :-=` Free Software Foundation, Inc., 22    --        :-=` Free Software Foundation, Inc.,
23 59 Temple Place - Suite 330, 23 59 Temple Place - Suite 330,
24 Boston, MA 02111-1307, USA. 24 Boston, MA 02111-1307, USA.
25 25
26*/ 26*/
27 27
28#include "launchersettings.h" 28#include "launchersettings.h"
29 29
30#include <qpe/qpeapplication.h> 30#include <qpe/qpeapplication.h>
31 31
32 32
33int main ( int argc, char** argv ) 33int main ( int argc, char** argv )
34{ 34{
35 QPEApplication a ( argc,argv ); 35 QPEApplication a ( argc,argv );
36 36
37 LauncherSettings dlg; 37 LauncherSettings dlg;
38 a. showMainWidget ( &dlg ); 38 a. showMainWidget ( &dlg );
39 dlg. showMaximized ( );
39 40
40 return a. exec ( ); 41 return a. exec ( );
41} 42}
42 43