diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-03-26 09:44:00 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-03-31 11:11:08 +0200 |
commit | c9aeb8896ae578515c217b9a08988156b4d62f1e (patch) | |
tree | 4735d7df7c16ee9556f80aba61a034ff48f1196a /common/resourceaccess.cpp | |
parent | 8f2fed8d2a1b23a8f318047b6592ad64b6ecbd22 (diff) | |
download | sink-c9aeb8896ae578515c217b9a08988156b4d62f1e.tar.gz sink-c9aeb8896ae578515c217b9a08988156b4d62f1e.zip |
Resource crashhandler and logging facilities.
Diffstat (limited to 'common/resourceaccess.cpp')
-rw-r--r-- | common/resourceaccess.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/resourceaccess.cpp b/common/resourceaccess.cpp index ffe716b..59cbece 100644 --- a/common/resourceaccess.cpp +++ b/common/resourceaccess.cpp | |||
@@ -20,12 +20,12 @@ | |||
20 | 20 | ||
21 | #include "resourceaccess.h" | 21 | #include "resourceaccess.h" |
22 | 22 | ||
23 | #include "common/console.h" | ||
24 | #include "common/commands.h" | 23 | #include "common/commands.h" |
25 | #include "common/commandcompletion_generated.h" | 24 | #include "common/commandcompletion_generated.h" |
26 | #include "common/handshake_generated.h" | 25 | #include "common/handshake_generated.h" |
27 | #include "common/revisionupdate_generated.h" | 26 | #include "common/revisionupdate_generated.h" |
28 | #include "common/synchronize_generated.h" | 27 | #include "common/synchronize_generated.h" |
28 | #include "log.h" | ||
29 | 29 | ||
30 | #include <QCoreApplication> | 30 | #include <QCoreApplication> |
31 | #include <QDebug> | 31 | #include <QDebug> |
@@ -343,8 +343,7 @@ void ResourceAccess::callCallbacks(int id) | |||
343 | 343 | ||
344 | void ResourceAccess::log(const QString &message) | 344 | void ResourceAccess::log(const QString &message) |
345 | { | 345 | { |
346 | qDebug() << d->resourceName + ": " + message; | 346 | Log() << d->resourceName + ": " + message; |
347 | // Console::main()->log(d->resourceName + ": " + message); | ||
348 | } | 347 | } |
349 | 348 | ||
350 | } | 349 | } |