diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-17 08:17:04 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-17 08:17:04 +0100 |
commit | 7265d88245767960f1b551bb57f8f84942b898d2 (patch) | |
tree | b84859a416dd21bc295bdf46fa1897ecd91cfcec /client/main.cpp | |
parent | 77944384d24b5005d6b8648572a31a3ae84dd946 (diff) | |
download | sink-7265d88245767960f1b551bb57f8f84942b898d2.tar.gz sink-7265d88245767960f1b551bb57f8f84942b898d2.zip |
use client pid for identifier for now
will allow stateful handling of resource side client-specific caches
in future (e.g. for storing the results of source-side search queries)
Diffstat (limited to 'client/main.cpp')
-rw-r--r-- | client/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/main.cpp b/client/main.cpp index 7449209..61c1c1a 100644 --- a/client/main.cpp +++ b/client/main.cpp | |||
@@ -29,6 +29,7 @@ int main(int argc, char *argv[]) | |||
29 | QApplication app(argc, argv); | 29 | QApplication app(argc, argv); |
30 | 30 | ||
31 | new Akonadi2::Console("Akonadi2 Client"); | 31 | new Akonadi2::Console("Akonadi2 Client"); |
32 | Akonadi2::Console::main()->log(QString("PID: %1").arg(QCoreApplication::applicationPid())); | ||
32 | 33 | ||
33 | QCommandLineParser cliOptions; | 34 | QCommandLineParser cliOptions; |
34 | cliOptions.addPositionalArgument(QObject::tr("[resource]"), | 35 | cliOptions.addPositionalArgument(QObject::tr("[resource]"), |