Browse Source

Simplify operations

adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
39c0c1a088
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/fspathedit_p.cpp

2
src/gui/fspathedit_p.cpp

@ -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…
Cancel
Save