Menu

#3 Need to close Dialog Box Unneccessarily

Interface_Problem
open
nobody
5
2001-12-07
2001-12-07
Anonymous
No

Hi,

I use kweather but everytime I start a kde session, it
prompts me with
a popup.

So I patched line 244 (+/-) of kweather.cpp:
logFile.close(); //jwc
QMessageBox::critical( this, "KWeather
Message:",
"Just opened logFile mode
IO_WriteOnly,\n"
"wrote to log file, and closed.");

to
logFile.close(); //jwc
/*
QMessageBox::critical( this, "KWeather
Message:",
"Just opened logFile mode
IO_WriteOnly,\n"
"wrote to log file, and closed.");
*/

As I use debian Sid, I need to do this often ;-) .

Could You please change these lines in Your source?
Use #if defined NDEBUG or similar?

Discussion


Log in to post a comment.