diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-03 01:10:16 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-03 01:11:57 +0100 |
commit | f0b71f989ea798495ad80d1f059ae0a28514f9a2 (patch) | |
tree | 8551131b5ce3ccaa3c422f6635aefdbf6ca149ff /application/pages/WorldListPage.h | |
parent | ac66af6c13604a4eb2d36cc82417aa6753b84afe (diff) | |
download | MultiMC-f0b71f989ea798495ad80d1f059ae0a28514f9a2.tar MultiMC-f0b71f989ea798495ad80d1f059ae0a28514f9a2.tar.gz MultiMC-f0b71f989ea798495ad80d1f059ae0a28514f9a2.tar.lz MultiMC-f0b71f989ea798495ad80d1f059ae0a28514f9a2.tar.xz MultiMC-f0b71f989ea798495ad80d1f059ae0a28514f9a2.zip |
NOISSUE use LoggedProcess to work around issues with QProcess on macOS
Diffstat (limited to 'application/pages/WorldListPage.h')
-rw-r--r-- | application/pages/WorldListPage.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/application/pages/WorldListPage.h b/application/pages/WorldListPage.h index 8a9fc16f..0a09764e 100644 --- a/application/pages/WorldListPage.h +++ b/application/pages/WorldListPage.h @@ -20,6 +20,7 @@ #include "minecraft/onesix/OneSixInstance.h" #include "BasePage.h" #include <MultiMC.h> +#include <LoggedProcess.h> class WorldList; namespace Ui @@ -73,6 +74,8 @@ private: private: Ui::WorldListPage *ui; std::shared_ptr<WorldList> m_worlds; + unique_qobject_ptr<LoggedProcess> m_mceditProcess; + bool m_mceditStarting = false; QString m_iconName; QString m_id; QString m_displayName; @@ -88,4 +91,5 @@ private slots: void on_refreshBtn_clicked(); void on_viewFolderBtn_clicked(); void worldChanged(const QModelIndex ¤t, const QModelIndex &previous); + void mceditState(LoggedProcess::State state); }; |