This commit is contained in:
Maxim Doucet 2015-05-27 18:34:47 +02:00
parent efd0108597
commit 03fc9b5fa7
1 changed files with 1 additions and 7 deletions

View File

@ -194,13 +194,7 @@ QString PluginManager::getPluginUrl(const QString& pluginName)
process.start(program, args);
bool success = process.waitForStarted();
if (!success || !process.waitForFinished())
{
emit error(tr("Could not get Linux package type."));
return "";
}
bool isDeb = (process.exitCode() == 0);
bool isDeb = (success && process.waitForFinished() & (process.exitCode() == 0));
int arch = getProcessorArch();
if (arch == kProcessorArchLinux32) {