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:
Vladimir Golovnev
2024-04-08 16:02:26 +03:00
committed by GitHub
parent 92ce507151
commit f085f8c076
2 changed files with 5 additions and 8 deletions

View File

@@ -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;