- Fixed double-click default action

This commit is contained in:
Christophe Dumez 2007-11-08 18:22:34 +00:00
parent 38ca306499
commit 0ce114a7f8

View file

@ -975,9 +975,9 @@ void GUI::torrentDoubleClicked(QString hash, bool finished) {
settings.beginGroup("Preferences");
settings.beginGroup("Downloads");
if(finished) {
action = settings.value(QString::fromUtf8("DblClOnTorFN"), 1).toInt();
action = settings.value(QString::fromUtf8("DblClOnTorFN"), 0).toInt();
} else {
action = settings.value(QString::fromUtf8("DblClOnTorDl"), 1).toInt();
action = settings.value(QString::fromUtf8("DblClOnTorDl"), 0).toInt();
}
settings.endGroup();
settings.endGroup();