mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
- BUGFIX: Stop search when clearing results
This commit is contained in:
@@ -44,6 +44,7 @@
|
|||||||
- I18N: Added Hungarian translation
|
- I18N: Added Hungarian translation
|
||||||
- I18N: Added Brazilian translation
|
- I18N: Added Brazilian translation
|
||||||
- BUGFIX: Progress of paused torrents is now correct on restart
|
- BUGFIX: Progress of paused torrents is now correct on restart
|
||||||
|
- BUGFIX: clear the results of a search stops searching
|
||||||
- BUGFIX: Progress column gets sorted on restart it is was during last execution
|
- BUGFIX: Progress column gets sorted on restart it is was during last execution
|
||||||
- BUGFIX: Made ETA more reliable using stats instead of instant values
|
- BUGFIX: Made ETA more reliable using stats instead of instant values
|
||||||
- BUGFIX: Remove torrent from hard drive used to delete parent folder if empty
|
- BUGFIX: Remove torrent from hard drive used to delete parent folder if empty
|
||||||
|
|||||||
1
TODO
1
TODO
@@ -59,3 +59,4 @@
|
|||||||
|
|
||||||
rc7->rc8 changelog:
|
rc7->rc8 changelog:
|
||||||
- BUGFIX: Fixed torrent files filtering
|
- BUGFIX: Fixed torrent files filtering
|
||||||
|
- BUGFIX: Stop search when clearing results
|
||||||
|
|||||||
@@ -452,12 +452,19 @@ void SearchEngine::on_stop_search_button_clicked(){
|
|||||||
|
|
||||||
// Clear search results list
|
// Clear search results list
|
||||||
void SearchEngine::on_clear_button_clicked(){
|
void SearchEngine::on_clear_button_clicked(){
|
||||||
|
// Kill process
|
||||||
|
searchProcess->terminate();
|
||||||
|
search_stopped = true;
|
||||||
|
|
||||||
searchResultsUrls.clear();
|
searchResultsUrls.clear();
|
||||||
SearchListModel->removeRows(0, SearchListModel->rowCount());
|
SearchListModel->removeRows(0, SearchListModel->rowCount());
|
||||||
// Disable clear & download buttons
|
// Disable clear & download buttons
|
||||||
clear_button->setEnabled(false);
|
clear_button->setEnabled(false);
|
||||||
download_button->setEnabled(false);
|
download_button->setEnabled(false);
|
||||||
results_lbl->setText(tr("Results")+" <i>(0)</i>:");
|
results_lbl->setText(tr("Results")+" <i>(0)</i>:");
|
||||||
|
// focus on search pattern
|
||||||
|
search_pattern->clear();
|
||||||
|
search_pattern->setFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SearchEngine::on_clearPatternButton_clicked() {
|
void SearchEngine::on_clearPatternButton_clicked() {
|
||||||
|
|||||||
Reference in New Issue
Block a user