From a9119c4edc272815121ddc863963b5289bb95b13 Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 19 Oct 2004 23:51:51 +0000 Subject: more fixes --- 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() ) ); 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 @@ -203,7 +203,6 @@ int main(int argc, char *argv[]) m.show(); #endif */ - 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 @@ -129,7 +129,7 @@ PwMInit::~PwMInit() void PwMInit::initializeApp() { - qDebug("PwMInit::initializeApp() "); + //qDebug("PwMInit::initializeApp() "); PWM_ASSERT(runStatus == unknown); runStatus = init; initPosixSignalHandler(); @@ -142,7 +142,6 @@ void PwMInit::initializeApp() initKeycard(); initTray(); handleCmdLineArgs(); - qDebug("handle "); bool openDeeplocked = false; if (conf()->confGlobAutostartDeepLocked() || savedCmd.open_deeplocked) @@ -292,7 +291,6 @@ PwM * PwMInit::createMainWnd(const QString &loadFile, PwMDoc *doc, bool minimized) { - qDebug("PwMInit::createMainWnd "); PwM *newWnd; if (!doc) doc = createDoc(); -- cgit v0.9.0.2