From 859332e18d58cf8873852e29ba726be9b5efa0f2 Mon Sep 17 00:00:00 2001 From: Tannin Date: Thu, 4 Jun 2015 12:50:11 +0200 Subject: a little more logging during startup --- src/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index ac0582bf..549de4a9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -170,6 +170,8 @@ void cleanupDir() "proxy.dll" }; + qDebug("removing obsolete files"); + for (const QString &fileName : fileNames) { QString fullPath = qApp->applicationDirPath() + "/" + fileName; if (QFile::exists(fullPath) @@ -430,9 +432,9 @@ int main(int argc, char *argv[]) } // we continue for the primary instance OR if MO has been called with parameters QSettings settings(dataPath + "/" + QString::fromStdWString(AppConfig::iniFileName()), QSettings::IniFormat); - + qDebug("initializing core"); OrganizerCore organizer(settings); - + qDebug("initialize plugins"); PluginContainer pluginContainer(&organizer); pluginContainer.loadPlugins(); -- cgit v1.3.1