diff --git a/src/gui/fspathedit_p.cpp b/src/gui/fspathedit_p.cpp index 213ef213e..e8c403ab7 100644 --- a/src/gui/fspathedit_p.cpp +++ b/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)) { - m_completerModel->setRootPath(QFileInfo(text()).absoluteDir().absolutePath()); + m_completerModel->setRootPath(Path(text()).data()); showCompletionPopup(); }