utility: ringlogging fix, delete when switching log files

This commit is contained in:
Andreas Stallinger
2016-02-26 12:31:38 +01:00
parent 47a0dd69a4
commit b3ac0532cc
4 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -41,12 +41,12 @@ int main(int argc, char *argv[])
Version version = Version::fromString(GIT_VERSION_NUMBER);
QApplication::setApplicationVersion(version.toDisplayString().c_str());
QtApplication qtApp(argc, argv);
if(AppPath::getAppPath().empty())
{
AppPath::setAppPath(QCoreApplication::applicationDirPath().toStdString());
}
setup(argc, argv);
QtApplication qtApp(argc, argv);
qtApp.setAttribute(Qt::AA_UseHighDpiPixmaps);