From a36c962a314165bc94aa8b117fff7c452c9fdfe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 30 Oct 2016 10:27:18 +0100 Subject: [PATCH] NOISSUE use current directory for application ID Using QDir(dataPath).absolutePath() for the path --- application/MultiMC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index a157fae06..af59d93c0 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())