summaryrefslogtreecommitdiffabout
path: root/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
authorzautrix <zautrix>2004-10-19 23:51:51 (UTC)
committer zautrix <zautrix>2004-10-19 23:51:51 (UTC)
commita9119c4edc272815121ddc863963b5289bb95b13 (patch) (side-by-side diff)
treef515514cda0e212da6722ef8baf5d378e08d34eb /pwmanager/pwmanager/getmasterpwwnd_emb.cpp
parentf013ff3c0108100c6dbf037a05502ed493361fbf (diff)
downloadkdepimpi-a9119c4edc272815121ddc863963b5289bb95b13.zip
kdepimpi-a9119c4edc272815121ddc863963b5289bb95b13.tar.gz
kdepimpi-a9119c4edc272815121ddc863963b5289bb95b13.tar.bz2
more fixes
Diffstat (limited to 'pwmanager/pwmanager/getmasterpwwnd_emb.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/getmasterpwwnd_emb.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/pwmanager/pwmanager/getmasterpwwnd_emb.cpp b/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
index 7f4ccef..8b6dfbc 100644
--- a/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
+++ b/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
@@ -64,8 +64,10 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
pageLayout->addWidget(pwLineEdit);
QWidget* numberBox = new QWidget( page );
- numberBox->setFixedHeight(100);
- numberBox->setFixedWidth(100);
+#ifndef DESKTOP_VERSION
+ numberBox->setFixedHeight(150);
+ numberBox->setFixedWidth(150);
+#endif
QGridLayout* numberLayout = new QGridLayout( numberBox, 4, 3 );
numberLayout->setMargin( 0 );
@@ -98,8 +100,11 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
pageLayout->addWidget(numberBox);
-
+#ifdef DESKTOP_VERSION
+ resize( sizeHint() );
+#else
resize( 200,sizeHint().height() );
+#endif
connect( p0, SIGNAL( clicked() ), this, SLOT( add0() ) );
connect( p1, SIGNAL( clicked() ), this, SLOT( add1() ) );