diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/CMakeLists.txt | 2 | ||||
-rw-r--r-- | application/MainWindow.cpp | 2 | ||||
-rw-r--r-- | application/pages/OtherLogsPage.h | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/application/CMakeLists.txt b/application/CMakeLists.txt index 1ba19bc2..1cc37a5d 100644 --- a/application/CMakeLists.txt +++ b/application/CMakeLists.txt @@ -323,7 +323,7 @@ if(WIN32) set(MultiMC_LINK_ADDITIONAL_LIBS ${MultiMC_LINK_ADDITIONAL_LIBS} Qt5::WinMain) endif(WIN32) -include_directories(../logic) +include_directories(../logic ${CMAKE_CURRENT_BINARY_DIR}/../logic) # Qt 5 stuff qt5_wrap_ui(MULTIMC_UI ${MULTIMC_UIS}) diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index 891842b5..b50d0160 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -1105,6 +1105,8 @@ void MainWindow::instanceFromZipPack(QString instName, QString instGroup, QStrin errorMsg += tr("Not an instance"); CustomMessageBox::selectable(this, tr("Error"), errorMsg, QMessageBox::Warning)->show(); return; + default: + break; } newInstance->setName(instName); diff --git a/application/pages/OtherLogsPage.h b/application/pages/OtherLogsPage.h index 9a5a6ed4..564b26d2 100644 --- a/application/pages/OtherLogsPage.h +++ b/application/pages/OtherLogsPage.h @@ -70,7 +70,7 @@ private: private: Ui::OtherLogsPage *ui; QString m_path; - RecursiveFileSystemWatcher *m_watcher; QString m_currentFile; IPathMatcher::Ptr m_fileFilter; + RecursiveFileSystemWatcher *m_watcher; }; |