Browse Source

- Fixed double-click default action

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
0ce114a7f8
  1. 4
      src/GUI.cpp

4
src/GUI.cpp

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

Loading…
Cancel
Save