Commit 598c7ab5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Clean up

parent d2b3c188
project(kalarm)
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=5950)
add_definitions(-DQT_STRICT_ITERATORS)
add_definitions( -DQT_NO_CAST_FROM_ASCII )
......
......@@ -23,7 +23,7 @@
#include <kde_file.h>
#include <kapplication.h>
#include <klocale.h>
#include <kdebug.h>
#include <qdebug.h>
#include <kauthorized.h>
#include "shellprocess.h"
......@@ -82,7 +82,7 @@ void ShellProcess::slotExited(int exitCode, QProcess::ExitStatus exitStatus)
mExitCode = exitCode;
if (exitStatus != NormalExit)
{
kWarning(5950) << mCommand << ":" << mShellName << ": crashed/killed";
qWarning() << mCommand << ":" << mShellName << ": crashed/killed";
mStatus = DIED;
}
else
......@@ -91,7 +91,7 @@ void ShellProcess::slotExited(int exitCode, QProcess::ExitStatus exitStatus)
if ((mShellName == "bash" && (exitCode == 126 || exitCode == 127))
|| (mShellName == "ksh" && exitCode == 127))
{
kWarning(5950) << mCommand << ":" << mShellName << ": not found or not executable";
qWarning() << mCommand << ":" << mShellName << ": not found or not executable";
mStatus = NOT_FOUND;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment