Lines 233-239
Link Here
|
233 |
delete [] xml; |
233 |
delete [] xml; |
234 |
|
234 |
|
235 |
fillConfigurationComboBox(); |
235 |
fillConfigurationComboBox(); |
236 |
selectConfiguration(&QFileInfo(configFileName).completeBaseName(), PLUGIN_CONFIG_USER); |
236 |
QString temporary = QFileInfo(configFileName).completeBaseName(); |
|
|
237 |
selectConfiguration(&temporary, PLUGIN_CONFIG_USER); |
237 |
} |
238 |
} |
238 |
|
239 |
|
239 |
delete [] configDirectory; |
240 |
delete [] configDirectory; |
Lines 373-379
Link Here
|
373 |
disableGenericSlots = true; |
374 |
disableGenericSlots = true; |
374 |
options->getPresetConfiguration(&configurationName, &configurationType); |
375 |
options->getPresetConfiguration(&configurationName, &configurationType); |
375 |
|
376 |
|
376 |
bool foundConfig = selectConfiguration(&QString(configurationName), configurationType); |
377 |
QString temporary2 = QString(configurationName); |
|
|
378 |
bool foundConfig = selectConfiguration(&temporary2, configurationType); |
377 |
|
379 |
|
378 |
if (!foundConfig) |
380 |
if (!foundConfig) |
379 |
printf("Configuration %s (type %d) could not be found. Using snapshot.\n", configurationName, configurationType); |
381 |
printf("Configuration %s (type %d) could not be found. Using snapshot.\n", configurationName, configurationType); |