mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Avoid redundant operation
The default is the same as the one specified here.
This commit is contained in:
parent
3fe09aa673
commit
4fd5037c10
@ -161,7 +161,6 @@ Private::FileLineEdit::FileLineEdit(QWidget *parent)
|
|||||||
m_completerModel->setOptions(QFileSystemModel::DontWatchForChanges);
|
m_completerModel->setOptions(QFileSystemModel::DontWatchForChanges);
|
||||||
|
|
||||||
m_completer->setModel(m_completerModel);
|
m_completer->setModel(m_completerModel);
|
||||||
m_completer->setCompletionMode(QCompleter::PopupCompletion);
|
|
||||||
setCompleter(m_completer);
|
setCompleter(m_completer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user