Do explicit cast to QUrl

parent c6d2ff9c
......@@ -70,7 +70,7 @@ PropertiesPage::PropertiesPage(QWidget *parent) //in its own file?
//float version = Prefs::appVersion().toFloat();
ui_properties.kcfg_appVersion->setText(Prefs::appVersion());//TODO appVersion+0.1 if already exists
ui_properties.kcfg_url->setMode(KFile::Directory);
ui_properties.kcfg_url->setUrl(Prefs::url());
ui_properties.kcfg_url->setUrl(QUrl(Prefs::url()));
ui_properties.kcfg_name->setText(Prefs::name());
ui_properties.kcfg_email->setText(Prefs::email());
......
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