mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-25 14:04:23 +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))
|
if ((e->key() == Qt::Key_Space) && (e->modifiers() == Qt::CTRL))
|
||||||
{
|
{
|
||||||
m_completerModel->setRootPath(QFileInfo(text()).absoluteDir().absolutePath());
|
m_completerModel->setRootPath(Path(text()).data());
|
||||||
showCompletionPopup();
|
showCompletionPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user