X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Flogger.cpp;h=01d56876f9caa0e4bbedc53d33be751a7b0a6956;hb=bb631d7ca67c86dd758428fb0e18b905514a16e3;hp=8ccb0139fcd20a7285cb801c8c907f1f6ab8dfd8;hpb=1a9ff2f55c36ed6eb324bc248ceff60db537ce2a;p=evaf
diff --git a/src/libs/Common/logger.cpp b/src/libs/Common/logger.cpp
index 8ccb013..01d5687 100644
--- a/src/libs/Common/logger.cpp
+++ b/src/libs/Common/logger.cpp
@@ -19,7 +19,7 @@
#include "logger.h"
#include "iregistry.h"
-#include "ienv.h"
+#include "iapp.h"
#include "version.h"
#include
@@ -160,7 +160,7 @@ Logger::Logger()
Logger::~Logger()
{
// Disconnect any potential receivers from this object
- disconnect(this, SIGNAL(loggerEvent(eVaf::Common::iLogger::Severity,QString,QString,QString)), 0, 0);
+ disconnect(this, SIGNAL(loggerEvent(Common::iLogger::Severity,QString,QString,QString)), 0, 0);
// Destroy the worker thread
if (mWorker) {
@@ -445,7 +445,7 @@ LoggerSource * Logger::getSource(QString const & source)
mSources.insert(source, src);
// Initialize the new source
- src->init(source.isEmpty() ? mDefaultSource : source, iEnv::instance()->logDir(), iEnv::instance()->etcDir());
+ src->init(source.isEmpty() ? mDefaultSource : source, iApp::instance()->logDir(), iApp::instance()->etcDir());
return src.data();
}