From 3f8db6aa0f3cac710ea85524cd325a99eba8d184 Mon Sep 17 00:00:00 2001 From: PianetaRadio <78976006+PianetaRadio@users.noreply.github.com> Date: Mon, 7 Nov 2022 20:58:41 +0100 Subject: [PATCH] Bug fix application path #29 --- mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 37f5740..120f1c1 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -35,6 +35,8 @@ #include #include #include +#include +#include #include //Hamlib @@ -68,6 +70,8 @@ MainWindow::MainWindow(QWidget *parent) { ui->setupUi(this); + QDir::setCurrent(QCoreApplication::applicationDirPath()); //set current path = application path + timer = new QTimer(this); //timer for rigDaemon thread call //* Debug