Fixed: Plugin manager doesn't detect wow64 #4168

This commit is contained in:
Nick Bolton 2015-02-25 21:22:43 +00:00
parent e4199b976e
commit 64c350fd96
1 changed files with 2 additions and 2 deletions

View File

@ -179,10 +179,10 @@ QString PluginManager::getPluginUrl(const QString& pluginName)
try {
QString coreArch = m_CoreInterface.getArch();
if (coreArch == "x86") {
if (coreArch.startsWith("x86")) {
archName = kWinProcessorArch32;
}
else if (coreArch == "x64") {
else if (coreArch.startsWith("x64")) {
archName = kWinProcessorArch64;
}
}