summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -63,10 +63,12 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
pageLayout->addWidget(textLabel1);
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 );
numberLayout->setSpacing( 0 );
@@ -97,10 +99,13 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
numberLayout->addWidget( backspace, 3, 2 );
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() ) );
connect( p2, SIGNAL( clicked() ), this, SLOT( add2() ) );
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
@@ -202,9 +202,8 @@ int main(int argc, char *argv[])
m.resize (640, 480 );
m.show();
#endif
*/
- qDebug("exec ");
a.exec();
}
qDebug("PWMPI: Bye! ");
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
@@ -128,9 +128,9 @@ PwMInit::~PwMInit()
}
void PwMInit::initializeApp()
{
- qDebug("PwMInit::initializeApp() ");
+ //qDebug("PwMInit::initializeApp() ");
PWM_ASSERT(runStatus == unknown);
runStatus = init;
initPosixSignalHandler();
Randomizer::init();
@@ -141,9 +141,8 @@ void PwMInit::initializeApp()
initKWalletEmu();
initKeycard();
initTray();
handleCmdLineArgs();
- qDebug("handle ");
bool openDeeplocked = false;
if (conf()->confGlobAutostartDeepLocked() ||
savedCmd.open_deeplocked)
openDeeplocked = true;
@@ -291,9 +290,8 @@ PwM * PwMInit::createMainWnd(const QString &loadFile,
bool virginity,
PwMDoc *doc,
bool minimized)
{
- qDebug("PwMInit::createMainWnd ");
PwM *newWnd;
if (!doc)
doc = createDoc();
newWnd = new PwM(this, doc, virginity);