summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-09-15 22:38:15 (UTC)
committer ulf69 <ulf69>2004-09-15 22:38:15 (UTC)
commit7fae8b87a05c3572bf0c9218d300d99fdc02adc4 (patch) (unidiff)
treec32ea42ffc3e76a8268c637d6da91d121e274b6f
parent7a3f46caedc087a8f4f920de585187b70e310804 (diff)
downloadkdepimpi-7fae8b87a05c3572bf0c9218d300d99fdc02adc4.zip
kdepimpi-7fae8b87a05c3572bf0c9218d300d99fdc02adc4.tar.gz
kdepimpi-7fae8b87a05c3572bf0c9218d300d99fdc02adc4.tar.bz2
removed debugwarning
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/pwminit.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/pwmanager/pwmanager/pwminit.cpp b/pwmanager/pwmanager/pwminit.cpp
index b0a78c2..2f1aa4e 100644
--- a/pwmanager/pwmanager/pwminit.cpp
+++ b/pwmanager/pwmanager/pwminit.cpp
@@ -160,50 +160,48 @@ void PwMInit::initializeApp()
160 160
161void PwMInit::shutdownApp(int exitStatus) 161void PwMInit::shutdownApp(int exitStatus)
162{ 162{
163 printDebug(string("PwMInit::shutdownApp(") 163 printDebug(string("PwMInit::shutdownApp(")
164 + tostr(exitStatus) + ") called."); 164 + tostr(exitStatus) + ") called.");
165 PWM_ASSERT((runStatus == running) || (runStatus == init)); 165 PWM_ASSERT((runStatus == running) || (runStatus == init));
166 runStatus = shutdown; 166 runStatus = shutdown;
167 QApplication::exit(exitStatus); 167 QApplication::exit(exitStatus);
168 /* The destructor of PwMInit is called when control 168 /* The destructor of PwMInit is called when control
169 * leaves main() 169 * leaves main()
170 */ 170 */
171} 171}
172 172
173void PwMInit::initPosixSignalHandler() 173void PwMInit::initPosixSignalHandler()
174{ 174{
175 signal(SIGINT, sig_handler); 175 signal(SIGINT, sig_handler);
176 signal(SIGTERM, sig_handler); 176 signal(SIGTERM, sig_handler);
177} 177}
178 178
179void PwMInit::initDCOP() 179void PwMInit::initDCOP()
180{ 180{
181#ifndef PWM_EMBEDDED 181#ifndef PWM_EMBEDDED
182 _dcopClient = app->dcopClient(); 182 _dcopClient = app->dcopClient();
183 _dcopClient->setNotifications(true); 183 _dcopClient->setNotifications(true);
184#else
185 qDebug("PwMInit::initDCOP() has to be implemented");
186#endif 184#endif
187 185
188} 186}
189 187
190void PwMInit::initKWalletEmu(bool forceDisable, bool forceReload) 188void PwMInit::initKWalletEmu(bool forceDisable, bool forceReload)
191{ 189{
192#ifdef CONFIG_KWALLETIF 190#ifdef CONFIG_KWALLETIF
193 if (!conf()->confGlobKwalletEmu() || 191 if (!conf()->confGlobKwalletEmu() ||
194 forceDisable) { 192 forceDisable) {
195 delete_ifnot_null(_kwalletEmu); 193 delete_ifnot_null(_kwalletEmu);
196 return; 194 return;
197 } 195 }
198 try { 196 try {
199 if (_kwalletEmu && forceReload) 197 if (_kwalletEmu && forceReload)
200 delete_and_null(_kwalletEmu); 198 delete_and_null(_kwalletEmu);
201 if (!_kwalletEmu) 199 if (!_kwalletEmu)
202 _kwalletEmu = new KWalletEmu(this); 200 _kwalletEmu = new KWalletEmu(this);
203 } catch (PwMException e) { 201 } catch (PwMException e) {
204 string errMsg("initializing KWallet emulation failed. ID: "); 202 string errMsg("initializing KWallet emulation failed. ID: ");
205 errMsg += tostr(static_cast<int>(e.getId())); 203 errMsg += tostr(static_cast<int>(e.getId()));
206 errMsg += " err-message: "; 204 errMsg += " err-message: ";
207 errMsg += e.getMessage(); 205 errMsg += e.getMessage();
208 printWarn(errMsg); 206 printWarn(errMsg);
209 return; 207 return;