summaryrefslogtreecommitdiffstats
path: root/application/MultiMC.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-10-30 10:27:18 +0100
committerPetr Mrázek <peterix@gmail.com>2016-10-30 14:47:16 +0100
commita36c962a314165bc94aa8b117fff7c452c9fdfe4 (patch)
treed00cb02abf93ec1a7079c73faed1efcd64acd00a /application/MultiMC.cpp
parente9949e3a54bcb95037e6f2587e0ff1ccd1c20628 (diff)
downloadMultiMC-a36c962a314165bc94aa8b117fff7c452c9fdfe4.tar
MultiMC-a36c962a314165bc94aa8b117fff7c452c9fdfe4.tar.gz
MultiMC-a36c962a314165bc94aa8b117fff7c452c9fdfe4.tar.lz
MultiMC-a36c962a314165bc94aa8b117fff7c452c9fdfe4.tar.xz
MultiMC-a36c962a314165bc94aa8b117fff7c452c9fdfe4.zip
NOISSUE use current directory for application ID
Using QDir(dataPath).absolutePath() for the path
Diffstat (limited to 'application/MultiMC.cpp')
-rw-r--r--application/MultiMC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp
index a157fae0..af59d93c 100644
--- a/application/MultiMC.cpp
+++ b/application/MultiMC.cpp
@@ -189,7 +189,7 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
m_status = MultiMC::Failed;
return;
}
- auto appID = ApplicationId::fromPathAndVersion(QDir(dataPath).absolutePath(), BuildConfig.printableVersionString());
+ auto appID = ApplicationId::fromPathAndVersion(QDir::currentPath(), BuildConfig.printableVersionString());
m_peerInstance = new LocalPeer(this, appID);
connect(m_peerInstance, &LocalPeer::messageReceived, this, &MultiMC::messageReceived);
if(m_peerInstance->isClient())