X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Flogger.cpp;h=c7a50ddbed3fe90f8bb4034efd01b5c808fcc2f5;hb=8e3cd0a676dde4e99f88feeeccea53caeb67e5b6;hp=8ccb0139fcd20a7285cb801c8c907f1f6ab8dfd8;hpb=1a9ff2f55c36ed6eb324bc248ceff60db537ce2a;p=evaf
diff --git a/src/libs/Common/logger.cpp b/src/libs/Common/logger.cpp
index 8ccb013..c7a50dd 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
@@ -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();
}