mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-05 07:02:31 -06:00
Fix Enter key behavior in Add new torrent dialog
Prevent inappropriate default completer from being used by path edit. PR #20670. Closes #20663.
This commit is contained in:
committed by
GitHub
parent
92ce507151
commit
f085f8c076
@@ -37,7 +37,6 @@
|
||||
#include "base/pathfwd.h"
|
||||
|
||||
class QAction;
|
||||
class QCompleter;
|
||||
class QContextMenuEvent;
|
||||
class QFileIconProvider;
|
||||
class QFileSystemModel;
|
||||
@@ -141,7 +140,6 @@ namespace Private
|
||||
static QString warningText(FileSystemPathValidator::TestResult result);
|
||||
|
||||
QFileSystemModel *m_completerModel = nullptr;
|
||||
QCompleter *m_completer = nullptr;
|
||||
QAction *m_browseAction = nullptr;
|
||||
QAction *m_warningAction = nullptr;
|
||||
QFileIconProvider *m_iconProvider = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user