summaryrefslogtreecommitdiffabout
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
parentf013ff3c0108100c6dbf037a05502ed493361fbf (diff)
downloadkdepimpi-a9119c4edc272815121ddc863963b5289bb95b13.zip
kdepimpi-a9119c4edc272815121ddc863963b5289bb95b13.tar.gz
kdepimpi-a9119c4edc272815121ddc863963b5289bb95b13.tar.bz2
more fixes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/getmasterpwwnd_emb.cpp11
-rw-r--r--pwmanager/pwmanager/main.cpp1
-rw-r--r--pwmanager/pwmanager/pwminit.cpp4
3 files changed, 9 insertions, 7 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
@@ -66,4 +66,6 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
QWidget* numberBox = new QWidget( page );
- numberBox->setFixedHeight(100);
- numberBox->setFixedWidth(100);
+#ifndef DESKTOP_VERSION
+ numberBox->setFixedHeight(150);
+ numberBox->setFixedWidth(150);
+#endif
@@ -100,4 +102,7 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
pageLayout->addWidget(numberBox);
-
+#ifdef DESKTOP_VERSION
+ resize( sizeHint() );
+#else
resize( 200,sizeHint().height() );
+#endif
diff --git a/pwmanager/pwmanager/main.cpp b/pwmanager/pwmanager/main.cpp
index 9d1d863..3f2d055 100644
--- a/pwmanager/pwmanager/main.cpp
+++ b/pwmanager/pwmanager/main.cpp
@@ -205,3 +205,2 @@ int main(int argc, char *argv[])
*/
- qDebug("exec ");
a.exec();
diff --git a/pwmanager/pwmanager/pwminit.cpp b/pwmanager/pwmanager/pwminit.cpp
index ea9e330..9238c8c 100644
--- a/pwmanager/pwmanager/pwminit.cpp
+++ b/pwmanager/pwmanager/pwminit.cpp
@@ -131,3 +131,3 @@ void PwMInit::initializeApp()
{
- qDebug("PwMInit::initializeApp() ");
+ //qDebug("PwMInit::initializeApp() ");
PWM_ASSERT(runStatus == unknown);
@@ -144,3 +144,2 @@ void PwMInit::initializeApp()
handleCmdLineArgs();
- qDebug("handle ");
bool openDeeplocked = false;
@@ -294,3 +293,2 @@ PwM * PwMInit::createMainWnd(const QString &loadFile,
{
- qDebug("PwMInit::createMainWnd ");
PwM *newWnd;