mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Make torrent sorting case insensitive (Closes #857154)
(cherry picked from commit 6c10936f6d)
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
- BUGFIX: Fix banning of IPv6 peers (Closes #885021)
|
- BUGFIX: Fix banning of IPv6 peers (Closes #885021)
|
||||||
- BUGFIX: Fix torrent addition dialog layout problem (Closes #84650522)
|
- BUGFIX: Fix torrent addition dialog layout problem (Closes #84650522)
|
||||||
- BUGFIX: Do not report any progress for disabled files (Closes #56731485)
|
- BUGFIX: Do not report any progress for disabled files (Closes #56731485)
|
||||||
|
- BUGFIX: Make torrent sorting case insensitive (Closes #857154)
|
||||||
- I18N: Add Georgian translation
|
- I18N: Add Georgian translation
|
||||||
|
|
||||||
* Sat Oct 29 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.9.2
|
* Sat Oct 29 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.9.2
|
||||||
|
|||||||
@@ -620,6 +620,7 @@ public:
|
|||||||
setFilterKeyColumn(TorrentFileItem::COL_NAME);
|
setFilterKeyColumn(TorrentFileItem::COL_NAME);
|
||||||
setFilterRole(Qt::DisplayRole);
|
setFilterRole(Qt::DisplayRole);
|
||||||
setDynamicSortFilter(true);
|
setDynamicSortFilter(true);
|
||||||
|
setSortCaseSensitivity(Qt::CaseInsensitive);
|
||||||
}
|
}
|
||||||
|
|
||||||
~TorrentFilesFilterModel() {
|
~TorrentFilesFilterModel() {
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, MainWindow *main_window,
|
|||||||
nameFilterModel->setSourceModel(statusFilterModel);
|
nameFilterModel->setSourceModel(statusFilterModel);
|
||||||
nameFilterModel->setFilterKeyColumn(TorrentModelItem::TR_NAME);
|
nameFilterModel->setFilterKeyColumn(TorrentModelItem::TR_NAME);
|
||||||
nameFilterModel->setFilterRole(Qt::DisplayRole);
|
nameFilterModel->setFilterRole(Qt::DisplayRole);
|
||||||
|
nameFilterModel->setSortCaseSensitivity(Qt::CaseInsensitive);
|
||||||
|
|
||||||
setModel(nameFilterModel);
|
setModel(nameFilterModel);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user