author | zautrix <zautrix> | 2004-10-19 23:51:51 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-19 23:51:51 (UTC) |
commit | a9119c4edc272815121ddc863963b5289bb95b13 (patch) (unidiff) | |
tree | f515514cda0e212da6722ef8baf5d378e08d34eb | |
parent | f013ff3c0108100c6dbf037a05502ed493361fbf (diff) | |
download | kdepimpi-a9119c4edc272815121ddc863963b5289bb95b13.zip kdepimpi-a9119c4edc272815121ddc863963b5289bb95b13.tar.gz kdepimpi-a9119c4edc272815121ddc863963b5289bb95b13.tar.bz2 |
more fixes
-rw-r--r-- | pwmanager/pwmanager/getmasterpwwnd_emb.cpp | 11 | ||||
-rw-r--r-- | pwmanager/pwmanager/main.cpp | 1 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwminit.cpp | 4 |
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 | |||
@@ -64,8 +64,10 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name) | |||
64 | pageLayout->addWidget(pwLineEdit); | 64 | pageLayout->addWidget(pwLineEdit); |
65 | 65 | ||
66 | QWidget* numberBox = new QWidget( page ); | 66 | QWidget* numberBox = new QWidget( page ); |
67 | numberBox->setFixedHeight(100); | 67 | #ifndef DESKTOP_VERSION |
68 | numberBox->setFixedWidth(100); | 68 | numberBox->setFixedHeight(150); |
69 | numberBox->setFixedWidth(150); | ||
70 | #endif | ||
69 | 71 | ||
70 | QGridLayout* numberLayout = new QGridLayout( numberBox, 4, 3 ); | 72 | QGridLayout* numberLayout = new QGridLayout( numberBox, 4, 3 ); |
71 | numberLayout->setMargin( 0 ); | 73 | numberLayout->setMargin( 0 ); |
@@ -98,8 +100,11 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name) | |||
98 | 100 | ||
99 | 101 | ||
100 | pageLayout->addWidget(numberBox); | 102 | pageLayout->addWidget(numberBox); |
101 | 103 | #ifdef DESKTOP_VERSION | |
104 | resize( sizeHint() ); | ||
105 | #else | ||
102 | resize( 200,sizeHint().height() ); | 106 | resize( 200,sizeHint().height() ); |
107 | #endif | ||
103 | 108 | ||
104 | connect( p0, SIGNAL( clicked() ), this, SLOT( add0() ) ); | 109 | connect( p0, SIGNAL( clicked() ), this, SLOT( add0() ) ); |
105 | connect( p1, SIGNAL( clicked() ), this, SLOT( add1() ) ); | 110 | 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[]) | |||
203 | m.show(); | 203 | m.show(); |
204 | #endif | 204 | #endif |
205 | */ | 205 | */ |
206 | qDebug("exec "); | ||
207 | a.exec(); | 206 | a.exec(); |
208 | 207 | ||
209 | } | 208 | } |
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() | |||
129 | 129 | ||
130 | void PwMInit::initializeApp() | 130 | void PwMInit::initializeApp() |
131 | { | 131 | { |
132 | qDebug("PwMInit::initializeApp() "); | 132 | //qDebug("PwMInit::initializeApp() "); |
133 | PWM_ASSERT(runStatus == unknown); | 133 | PWM_ASSERT(runStatus == unknown); |
134 | runStatus = init; | 134 | runStatus = init; |
135 | initPosixSignalHandler(); | 135 | initPosixSignalHandler(); |
@@ -142,7 +142,6 @@ void PwMInit::initializeApp() | |||
142 | initKeycard(); | 142 | initKeycard(); |
143 | initTray(); | 143 | initTray(); |
144 | handleCmdLineArgs(); | 144 | handleCmdLineArgs(); |
145 | qDebug("handle "); | ||
146 | bool openDeeplocked = false; | 145 | bool openDeeplocked = false; |
147 | if (conf()->confGlobAutostartDeepLocked() || | 146 | if (conf()->confGlobAutostartDeepLocked() || |
148 | savedCmd.open_deeplocked) | 147 | savedCmd.open_deeplocked) |
@@ -292,7 +291,6 @@ PwM * PwMInit::createMainWnd(const QString &loadFile, | |||
292 | PwMDoc *doc, | 291 | PwMDoc *doc, |
293 | bool minimized) | 292 | bool minimized) |
294 | { | 293 | { |
295 | qDebug("PwMInit::createMainWnd "); | ||
296 | PwM *newWnd; | 294 | PwM *newWnd; |
297 | if (!doc) | 295 | if (!doc) |
298 | doc = createDoc(); | 296 | doc = createDoc(); |