|
|
@ -573,9 +573,14 @@ void options_imp::loadOptions(){ |
|
|
|
textScanDir->setText(strValue); |
|
|
|
textScanDir->setText(strValue); |
|
|
|
enableDirScan(2); |
|
|
|
enableDirScan(2); |
|
|
|
} |
|
|
|
} |
|
|
|
actionTorrentDlOnDblClBox->setCurrentIndex(settings.value(QString::fromUtf8("DblClOnTorDl"), 0).toInt()); |
|
|
|
intValue = settings.value(QString::fromUtf8("DblClOnTorDl"), 0).toInt(); |
|
|
|
actionTorrentFnOnDblClBox->setCurrentIndex(settings.value(QString::fromUtf8("DblClOnTorFn"), 0).toInt()); |
|
|
|
if(intValue >= actionTorrentDlOnDblClBox->count()) |
|
|
|
|
|
|
|
intValue = 0; |
|
|
|
|
|
|
|
actionTorrentDlOnDblClBox->setCurrentIndex(intValue); |
|
|
|
intValue = settings.value(QString::fromUtf8("DblClOnTorFn"), 1).toInt(); |
|
|
|
intValue = settings.value(QString::fromUtf8("DblClOnTorFn"), 1).toInt(); |
|
|
|
|
|
|
|
if(intValue >= actionTorrentFnOnDblClBox->count()) |
|
|
|
|
|
|
|
intValue = 1; |
|
|
|
|
|
|
|
actionTorrentFnOnDblClBox->setCurrentIndex(intValue); |
|
|
|
// End Downloads preferences
|
|
|
|
// End Downloads preferences
|
|
|
|
settings.endGroup(); |
|
|
|
settings.endGroup(); |
|
|
|
// Connection preferences
|
|
|
|
// Connection preferences
|
|
|
|