mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-22 09:16:05 +03:00
- Ask for exit confirmation only if the download list is not empty
This commit is contained in:
parent
c6c4bc1277
commit
c832d91f79
51 changed files with 5561 additions and 3657 deletions
|
@ -5,6 +5,7 @@
|
|||
- FEATURE: Allow user to change qBT's style (Plastique, Cleanlooks, Motif, CDE, MacOSX, WinXP)
|
||||
- FEATURE: Allow the user to disable system tray integration
|
||||
- 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 options a little
|
||||
- COSMETIC: Display more logs messages concerning features
|
||||
|
|
1
TODO
1
TODO
|
@ -40,7 +40,6 @@
|
|||
- 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)
|
||||
- Use tooltips to explain options
|
||||
- Exit confirmation only if there are active downloads (display number of downloads) - SMARTER
|
||||
- Display more info in log (UPnP)
|
||||
- Update to libtorrent SVN (0.13)
|
||||
- Use its UPnP/NAT-PMP built-in support instead of ours
|
||||
|
|
|
@ -652,12 +652,12 @@ void GUI::closeEvent(QCloseEvent *e){
|
|||
e->ignore();
|
||||
return;
|
||||
}
|
||||
if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool()){
|
||||
if(settings.value("Options/Misc/Behaviour/ConfirmOnExit", true).toBool() && nbTorrents != 0){
|
||||
show();
|
||||
showNormal();
|
||||
if(QMessageBox::question(this,
|
||||
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"),
|
||||
QString(), 0, 1)){
|
||||
e->ignore();
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -62,7 +62,7 @@
|
|||
<enum>QTabWidget::Rounded</enum>
|
||||
</property>
|
||||
<property name="currentIndex" >
|
||||
<number>0</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="iconSize" >
|
||||
<size>
|
||||
|
@ -846,7 +846,7 @@
|
|||
<item>
|
||||
<widget class="QCheckBox" name="confirmExit_checkBox" >
|
||||
<property name="text" >
|
||||
<string>Ask for confirmation on exit</string>
|
||||
<string>Exit confirmation when the download list is not empty</string>
|
||||
</property>
|
||||
<property name="checked" >
|
||||
<bool>true</bool>
|
||||
|
|
|
@ -467,7 +467,7 @@ void SearchEngine::on_update_nova_button_clicked(){
|
|||
curl_easy_cleanup(curl);
|
||||
// Close tmp 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);
|
||||
if(version_on_server == 0.0){
|
||||
//First server is down, try the mirror
|
||||
|
|
Loading…
Reference in a new issue