Let kquitapp fail verbosely
logixoul at gmail.com
Sat May 24 21:54:18 BST 2008
Currently, when kquitapp fails to do its job, it says nothing, which
can be confusing. Attached is a patch that makes it output an error
message instead (modeled after killall's).
I was unsure whether to use fputs, fprintf, cerr or kDebug() (all of
those are used throughout KDE), so I picked what's nicest - cerr. ;)
Also I'm unsure whether the toLocal8bit conversion is needed.
Can I commit?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 714 bytes
Desc: not available
More information about the kde-core-devel