Browse Source

- Ask for exit confirmation only if the download list is not empty

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
c832d91f79
  1. 1
      Changelog
  2. 1
      TODO
  3. 4
      src/GUI.cpp
  4. BIN
      src/lang/qbittorrent_bg.qm
  5. 399
      src/lang/qbittorrent_bg.ts
  6. BIN
      src/lang/qbittorrent_ca.qm
  7. 403
      src/lang/qbittorrent_ca.ts
  8. BIN
      src/lang/qbittorrent_da.qm
  9. 399
      src/lang/qbittorrent_da.ts
  10. BIN
      src/lang/qbittorrent_de.qm
  11. 399
      src/lang/qbittorrent_de.ts
  12. BIN
      src/lang/qbittorrent_el.qm
  13. 399
      src/lang/qbittorrent_el.ts
  14. BIN
      src/lang/qbittorrent_en.qm
  15. 407
      src/lang/qbittorrent_en.ts
  16. BIN
      src/lang/qbittorrent_es.qm
  17. 399
      src/lang/qbittorrent_es.ts
  18. BIN
      src/lang/qbittorrent_fi.qm
  19. 403
      src/lang/qbittorrent_fi.ts
  20. BIN
      src/lang/qbittorrent_fr.qm
  21. 399
      src/lang/qbittorrent_fr.ts
  22. BIN
      src/lang/qbittorrent_it.qm
  23. 399
      src/lang/qbittorrent_it.ts
  24. BIN
      src/lang/qbittorrent_ko.qm
  25. 399
      src/lang/qbittorrent_ko.ts
  26. BIN
      src/lang/qbittorrent_nb.qm
  27. 399
      src/lang/qbittorrent_nb.ts
  28. BIN
      src/lang/qbittorrent_nl.qm
  29. 399
      src/lang/qbittorrent_nl.ts
  30. BIN
      src/lang/qbittorrent_pl.qm
  31. 399
      src/lang/qbittorrent_pl.ts
  32. BIN
      src/lang/qbittorrent_pt.qm
  33. 399
      src/lang/qbittorrent_pt.ts
  34. BIN
      src/lang/qbittorrent_ro.qm
  35. 403
      src/lang/qbittorrent_ro.ts
  36. BIN
      src/lang/qbittorrent_ru.qm
  37. 399
      src/lang/qbittorrent_ru.ts
  38. BIN
      src/lang/qbittorrent_sk.qm
  39. 399
      src/lang/qbittorrent_sk.ts
  40. BIN
      src/lang/qbittorrent_sv.qm
  41. 399
      src/lang/qbittorrent_sv.ts
  42. BIN
      src/lang/qbittorrent_tr.qm
  43. 403
      src/lang/qbittorrent_tr.ts
  44. BIN
      src/lang/qbittorrent_uk.qm
  45. 399
      src/lang/qbittorrent_uk.ts
  46. BIN
      src/lang/qbittorrent_zh.qm
  47. 399
      src/lang/qbittorrent_zh.ts
  48. BIN
      src/lang/qbittorrent_zh_HK.qm
  49. 404
      src/lang/qbittorrent_zh_HK.ts
  50. 4
      src/options.ui
  51. 2
      src/searchEngine.cpp

1
Changelog

@ -5,6 +5,7 @@
- FEATURE: Allow user to change qBT's style (Plastique, Cleanlooks, Motif, CDE, MacOSX, WinXP) - FEATURE: Allow user to change qBT's style (Plastique, Cleanlooks, Motif, CDE, MacOSX, WinXP)
- FEATURE: Allow the user to disable system tray integration - FEATURE: Allow the user to disable system tray integration
- FEATURE: Search engine is now using one thread per website for faster results - FEATURE: Search engine is now using one thread per website for faster results
- FEATURE: Ask for exit confirmation only if download list is not empty
- COSMETIC: Redesigned torrent properties a little - COSMETIC: Redesigned torrent properties a little
- COSMETIC: Redesigned options a little - COSMETIC: Redesigned options a little
- COSMETIC: Display more logs messages concerning features - COSMETIC: Display more logs messages concerning features

1
TODO

@ -40,7 +40,6 @@
- Display Url seeds in torrent properties and allow to edit them - Display Url seeds in torrent properties and allow to edit them
- Improve Ipfilter.dat parser (move to a thread ? - too slow to load qBT and more importantly options) - Improve Ipfilter.dat parser (move to a thread ? - too slow to load qBT and more importantly options)
- Use tooltips to explain options - Use tooltips to explain options
- Exit confirmation only if there are active downloads (display number of downloads) - SMARTER
- Display more info in log (UPnP) - Display more info in log (UPnP)
- Update to libtorrent SVN (0.13) - Update to libtorrent SVN (0.13)
- Use its UPnP/NAT-PMP built-in support instead of ours - Use its UPnP/NAT-PMP built-in support instead of ours

4
src/GUI.cpp

@ -652,12 +652,12 @@ void GUI::closeEvent(QCloseEvent *e){
e->ignore(); e->ignore();
return; return;
} }
if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool()){ if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool() && nbTorrents != 0){
show(); show();
showNormal(); showNormal();
if(QMessageBox::question(this, if(QMessageBox::question(this,
tr("Are you sure you want to quit?")+" -- "+tr("qBittorrent"), tr("Are you sure you want to quit?")+" -- "+tr("qBittorrent"),
tr("Are you sure you want to quit qBittorrent?"), tr("The download list is not empty.\nAre you sure you want to quit qBittorrent?"),
tr("&Yes"), tr("&No"), tr("&Yes"), tr("&No"),
QString(), 0, 1)){ QString(), 0, 1)){
e->ignore(); e->ignore();

BIN
src/lang/qbittorrent_bg.qm

Binary file not shown.

399
src/lang/qbittorrent_bg.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_ca.qm

Binary file not shown.

403
src/lang/qbittorrent_ca.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_da.qm

Binary file not shown.

399
src/lang/qbittorrent_da.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_de.qm

Binary file not shown.

399
src/lang/qbittorrent_de.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_el.qm

Binary file not shown.

399
src/lang/qbittorrent_el.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_en.qm

Binary file not shown.

407
src/lang/qbittorrent_en.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_es.qm

Binary file not shown.

399
src/lang/qbittorrent_es.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_fi.qm

Binary file not shown.

403
src/lang/qbittorrent_fi.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_fr.qm

Binary file not shown.

399
src/lang/qbittorrent_fr.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_it.qm

Binary file not shown.

399
src/lang/qbittorrent_it.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_ko.qm

Binary file not shown.

399
src/lang/qbittorrent_ko.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_nb.qm

Binary file not shown.

399
src/lang/qbittorrent_nb.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_nl.qm

Binary file not shown.

399
src/lang/qbittorrent_nl.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_pl.qm

Binary file not shown.

399
src/lang/qbittorrent_pl.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_pt.qm

Binary file not shown.

399
src/lang/qbittorrent_pt.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_ro.qm

Binary file not shown.

403
src/lang/qbittorrent_ro.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_ru.qm

Binary file not shown.

399
src/lang/qbittorrent_ru.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_sk.qm

Binary file not shown.

399
src/lang/qbittorrent_sk.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_sv.qm

Binary file not shown.

399
src/lang/qbittorrent_sv.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_tr.qm

Binary file not shown.

403
src/lang/qbittorrent_tr.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_uk.qm

Binary file not shown.

399
src/lang/qbittorrent_uk.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_zh.qm

Binary file not shown.

399
src/lang/qbittorrent_zh.ts

File diff suppressed because it is too large Load Diff

BIN
src/lang/qbittorrent_zh_HK.qm

Binary file not shown.

404
src/lang/qbittorrent_zh_HK.ts

File diff suppressed because it is too large Load Diff

4
src/options.ui

@ -62,7 +62,7 @@
<enum>QTabWidget::Rounded</enum> <enum>QTabWidget::Rounded</enum>
</property> </property>
<property name="currentIndex" > <property name="currentIndex" >
<number>0</number> <number>1</number>
</property> </property>
<property name="iconSize" > <property name="iconSize" >
<size> <size>
@ -846,7 +846,7 @@
<item> <item>
<widget class="QCheckBox" name="confirmExit_checkBox" > <widget class="QCheckBox" name="confirmExit_checkBox" >
<property name="text" > <property name="text" >
<string>Ask for confirmation on exit</string> <string>Exit confirmation when the download list is not empty</string>
</property> </property>
<property name="checked" > <property name="checked" >
<bool>true</bool> <bool>true</bool>

2
src/searchEngine.cpp

@ -467,7 +467,7 @@ void SearchEngine::on_update_nova_button_clicked(){
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
// Close tmp file // Close tmp file
fclose(file); fclose(file);
qDebug("Version on qbittorrent.org: %f", getNovaVersion(filePath)); qDebug("Version on qbittorrent.org: %.2f", getNovaVersion(filePath));
float version_on_server = getNovaVersion(filePath); float version_on_server = getNovaVersion(filePath);
if(version_on_server == 0.0){ if(version_on_server == 0.0){
//First server is down, try the mirror //First server is down, try the mirror

Loading…
Cancel
Save