Let kquitapp fail verbosely

Stefan Monov logixoul at gmail.com
Sat May 24 21:54:18 BST 2008


Hi.
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?

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo
Type: application/octet-stream
Size: 714 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080524/0601df00/attachment.obj>


More information about the kde-core-devel mailing list