Commit 887deefb authored by Laurent Montel's avatar Laurent Montel 😁

Remove not necessary includes

parent faa0d293
......@@ -5,7 +5,6 @@
#include <QIODevice>
#include <QCoreApplication>
#include <iostream>
#include <unistd.h>
class DebugStream: public QIODevice
{
......@@ -57,7 +56,7 @@ QDebug debugStream(int line, const char *file, const char *function)
Q_UNUSED(line);
Q_UNUSED(file);
debug << QStringLiteral("Trace:%1(%2) %3:").arg(QString::fromLatin1(programName)).arg(unsigned(getpid())).arg(QLatin1String(function)) /* << file << ":" << line */;
debug << QStringLiteral("Trace:%1(%2) %3:").arg(QString::fromLatin1(programName)).arg(unsigned(QCoreApplication::applicationPid())).arg(QLatin1String(function)) /* << file << ":" << line */;
return debug;
}
......@@ -31,10 +31,7 @@
#include <KLocalizedString>
#include <Akonadi/KMime/MessageFlags>
#include <time.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
//Define it to get more debug output to expense of operating speed
// #define DEBUG_KEYCACHE_CONSITENCY
......
......@@ -32,9 +32,6 @@ using Akonadi::MessageStatus;
#include <QList>
#include <QSharedPointer>
#include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
class KMINDEXREADER_EXPORT KMIndexData
{
......
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