mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 22:03:27 -07:00
Make torrent sorting case insensitive (Closes #857154)
(cherry picked from commit 6c10936f6d
)
This commit is contained in:
parent
5e826dffc8
commit
6f34c81014
3 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue