author | sandman <sandman> | 2002-12-08 16:10:24 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-12-08 16:10:24 (UTC) |
commit | 5fd10ba0772bb87598a3f4fd2e0fff8c3d4dbe43 (patch) (side-by-side diff) | |
tree | 15febfc3bd4995417d9635d5294ccb188c719e34 | |
parent | 76fda4ee71e83d46f31a77b6d433cefdf24b3e73 (diff) | |
download | opie-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 ...
-rw-r--r-- | core/settings/launcher/main.cpp | 1 |
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 @@ /* � � � � � � � �=. This file is part of the OPIE Project � � � � � � �.=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> � � � � � �.>+-= �_;:, � � .> � �:=|. This file is free software; you can .> <`_, � > �. � <= redistribute it and/or modify it under :`=1 )Y*s>-.-- � : the terms of the GNU General Public .="- .-=="i, � � .._ License as published by the Free Software �- . � .-<_> � � .<> Foundation; either version 2 of the License, � � �._= =} � � � : or (at your option) any later version. � � .%`+i> � � � _;_. � � .i_,=:_. � � �-<s. This file is distributed in the hope that � � �+ �. �-:. � � � = it will be useful, but WITHOUT ANY WARRANTY; � � : .. � �.:, � � . . . without even the implied warranty of � � =_ � � � �+ � � =;=|` 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 ( ); } |