summaryrefslogtreecommitdiff
path: root/library/password.cpp
Side-by-side diff
Diffstat (limited to 'library/password.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/password.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/library/password.cpp b/library/password.cpp
index 3be6efe..41b3358 100644
--- a/library/password.cpp
+++ b/library/password.cpp
@@ -1,5 +1,5 @@
/**********************************************************************
-** Copyright (C) 2000 Trolltech AS. All rights reserved.
+** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
**
-** This file is part of Qtopia Environment.
+** This file is part of the Qtopia Environment.
**
@@ -29,3 +29,5 @@
#include <qfile.h>
+#ifdef QWS
#include <qwindowsystem_qws.h>
+#endif
@@ -74,2 +76,12 @@ PasswordDialog::PasswordDialog( QWidget* parent, const char* name, WFlags fl )
{
+ QRect desk = qApp->desktop()->geometry();
+
+ if ( desk.width() < 220 ) {
+ QFont f( font() );
+ f.setPointSize( 18 );
+ setFont( f );
+ f.setPointSize( 12 );
+ prompt->setFont( f );
+ }
+
button_0->installEventFilter( this );