Commit 4a219756 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Rolf Eike Beer

CMakeBuildDirChooser: avoid calling deprecated KUrlRequester::setPath()

Test Plan: Builds without warning now.

Subscribers: kdevelop-devel

Tags: #kdevelop

Differential Revision: https://phabricator.kde.org/D18856
parent cb4d3916
......@@ -76,7 +76,7 @@ CMakeBuildDirChooser::CMakeBuildDirChooser(QWidget* parent)
const auto defaultInstallPrefix = ICore::self()->runtimeController()->currentRuntime()->getenv("KDEV_DEFAULT_INSTALL_PREFIX");
if (!defaultInstallPrefix.isEmpty()) {
m_chooserUi->installPrefix->setPath(QFile::decodeName(defaultInstallPrefix));
m_chooserUi->installPrefix->setUrl(QUrl::fromLocalFile(QFile::decodeName(defaultInstallPrefix)));
}
updated();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment