tiny fixes

This commit is contained in:
Akash Mozumdar 2018-12-02 02:57:03 -05:00
parent cc1d2b0414
commit de109d0840
2 changed files with 1 additions and 2 deletions

View File

@ -52,7 +52,7 @@ int main(int argc, char *argv[])
AddVectoredExceptionHandler(FALSE, ExceptionLogger);
SetUnhandledExceptionFilter([](auto) -> LONG { Terminate(); });
QDir::setCurrent(QFileInfo().absolutePath());
QDir::setCurrent(QFileInfo(QString::fromStdWString(Util::GetModuleFileName().value())).absolutePath());
QApplication a(argc, argv);
MainWindow w;

View File

@ -5,7 +5,6 @@
#include "setdialog.h"
#include "misc.h"
#include "host/util.h"
#include <QTimer>
#include <QInputDialog>
MainWindow::MainWindow(QWidget *parent) :