Mercurial > hg > sonic-visualiser
comparison main/main.cpp @ 1277:7293bc5ee7f8 piper
Error reporting for Piper server startup
author | Chris Cannam |
---|---|
date | Fri, 21 Oct 2016 16:24:30 +0100 |
parents | 0c6cdcf53641 |
children | e93ad534c1cb |
comparison
equal
deleted
inserted
replaced
1276:0c6cdcf53641 | 1277:7293bc5ee7f8 |
---|---|
354 if (!QFile(helperPath + helperSuffix).exists()) { | 354 if (!QFile(helperPath + helperSuffix).exists()) { |
355 cerr << "NOTE: helper not found at " << (helperPath + helperSuffix) | 355 cerr << "NOTE: helper not found at " << (helperPath + helperSuffix) |
356 << ", trying in my own directory" << endl; | 356 << ", trying in my own directory" << endl; |
357 helperPath = myDir + "/plugin-checker-helper"; | 357 helperPath = myDir + "/plugin-checker-helper"; |
358 } | 358 } |
359 helperPath += helperSuffix; | |
360 if (!QFile(helperPath + helperSuffix).exists()) { | 359 if (!QFile(helperPath + helperSuffix).exists()) { |
361 cerr << "NOTE: helper not found at " << (helperPath + helperSuffix) | 360 cerr << "NOTE: helper not found at " << (helperPath + helperSuffix) |
362 << endl; | 361 << endl; |
363 } | 362 } |
363 helperPath += helperSuffix; | |
364 PluginScan::getInstance()->scan(helperPath); | 364 PluginScan::getInstance()->scan(helperPath); |
365 | 365 |
366 // Permit size_t and PropertyName to be used as args in queued signal calls | 366 // Permit size_t and PropertyName to be used as args in queued signal calls |
367 qRegisterMetaType<PropertyContainer::PropertyName>("PropertyContainer::PropertyName"); | 367 qRegisterMetaType<PropertyContainer::PropertyName>("PropertyContainer::PropertyName"); |
368 | 368 |