mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 19:57:45 +03:00
- Fixed double-click default action
This commit is contained in:
parent
38ca306499
commit
0ce114a7f8
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue