summaryrefslogtreecommitdiff
authorsandman <sandman>2002-12-30 14:39:13 (UTC)
committer sandman <sandman>2002-12-30 14:39:13 (UTC)
commita0eca1c0925a6893fa8f3ebfacd6363f906189df (patch) (side-by-side diff)
tree83863ca74f9a9f52dd5de4f8ddb1e0d595cfde2d
parentb1d3c5e4a2be3b3905bc813815d1ef898ad585fa (diff)
downloadopie-a0eca1c0925a6893fa8f3ebfacd6363f906189df.zip
opie-a0eca1c0925a6893fa8f3ebfacd6363f906189df.tar.gz
opie-a0eca1c0925a6893fa8f3ebfacd6363f906189df.tar.bz2
removed the "Width 240" qWarning()
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index e7e210a..b21428a 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -500,25 +500,25 @@ static void setTreble( int t = 0, int percent = -1 )
a QApplication, passing \a argc, \a argv, and \a t.
For applications, \a t should be the default, GuiClient. Only
the Qtopia server passes GuiServer.
*/
QPEApplication::QPEApplication( int & argc, char **argv, Type t )
: QApplication( argc, argv, t )
{
d = new QPEApplicationData;
d->loadTextCodecs();
d->loadImageCodecs();
int dw = desktop() ->width();
- qWarning( "Width %d", dw );
+
if ( dw < 200 ) {
setFont( QFont( "helvetica", 8 ) );
AppLnk::setSmallIconSize( 10 );
AppLnk::setBigIconSize( 28 );
}
else if ( dw > 600 ) {
setFont( QFont( "helvetica", 12 ) );
AppLnk::setSmallIconSize( 24 );
AppLnk::setBigIconSize( 48 );
}
else if ( dw > 200 ) {
setFont( QFont( "helvetica", 10 ) );