mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kdesudo: log warning messages to the kdesudo area
1206 is not reserved for anything Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
5af270efc2
commit
1cedf80f48
1 changed files with 2 additions and 2 deletions
|
@ -103,13 +103,13 @@ KdeSudo::KdeSudo(const QString &icon, const QString &appname) :
|
|||
KStandardDirs dirs;
|
||||
file = dirs.findResource("config", file);
|
||||
if (file.isEmpty()) {
|
||||
kWarning(1206) << "Config file not found: " << file << "\n";
|
||||
kWarning() << "Config file not found: " << file << "\n";
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
QFileInfo fi(file);
|
||||
if (!fi.exists()) {
|
||||
kWarning(1206) << "File does not exist: " << file << "\n";
|
||||
kWarning() << "File does not exist: " << file << "\n";
|
||||
exit(1);
|
||||
}
|
||||
if (fi.isWritable()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue