mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Simplify operations
This commit is contained in:
parent
f7ae010274
commit
39c0c1a088
@ -212,7 +212,7 @@ void Private::FileLineEdit::keyPressEvent(QKeyEvent *e)
|
||||
|
||||
if ((e->key() == Qt::Key_Space) && (e->modifiers() == Qt::CTRL))
|
||||
{
|
||||
m_completerModel->setRootPath(QFileInfo(text()).absoluteDir().absolutePath());
|
||||
m_completerModel->setRootPath(Path(text()).data());
|
||||
showCompletionPopup();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user