NOISSUE use current directory for application ID
Using QDir(dataPath).absolutePath() for the path
This commit is contained in:
parent
e9949e3a54
commit
a36c962a31
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user