From 65989e4ab454f228fb6cd2fa532145ed54366701 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 23 Oct 2004 06:49:54 +0000 Subject: statusmessage added topwm.fixed initialization problem.changed sring in translation --- (limited to 'pwmanager') diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp index ac0c978..9798e8e 100644 --- a/pwmanager/pwmanager/pwm.cpp +++ b/pwmanager/pwmanager/pwm.cpp @@ -40,6 +40,11 @@ #include #endif + +#ifndef DESKTOP_VERSION +#include +#endif + #include #include #include @@ -165,6 +170,7 @@ PwM::PwM(PwMInit *_init, PwMDoc *doc, , forceQuit (false) , forceMinimizeToTray (false) { + virgin = !virginity; init = _init; connect(doc, SIGNAL(docClosed(PwMDoc *)), this, SLOT(docClosed(PwMDoc *))); @@ -1359,6 +1365,9 @@ void PwM::showStatMsg(const QString &msg) statBar->message(msg, STATUSBAR_MSG_TIMEOUT * 1000); #else qDebug("Statusbar : %s",msg.latin1()); +#ifndef DESKTOP_VERSION + Global::statusMessage(msg); +#endif #endif } -- cgit v0.9.0.2