Commit 5f6ce145 authored by Kevin Funk's avatar Kevin Funk
Browse files

Fix KUrl porting bug

Don't put a 'file://' prefix in CMake's cache values
parent 115e72df
......@@ -113,7 +113,7 @@ void CMakeCacheDelegate::setModelData(QWidget * editor, QAbstractItemModel * mod
else if(type=="PATH" || type=="FILEPATH")
KUrlRequester *urlreq=qobject_cast<KUrlRequester*>(editor);
value = urlreq->url().url(QUrl::StripTrailingSlash); //CMake usually don't put it
value = urlreq->url().toDisplayString(QUrl::StripTrailingSlash | QUrl::PreferLocalFile); //CMake usually don't put it
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