Replace KUrl with QUrl in theme.h/cpp
Reviewed by: Aaron Seigo
This commit is contained in:
parent
c14e1649ee
commit
729988ffb1
@ -1051,12 +1051,12 @@ void Theme::setCacheLimit(int kbytes)
|
||||
}
|
||||
}
|
||||
|
||||
KUrl Theme::homepage() const
|
||||
QUrl Theme::homepage() const
|
||||
{
|
||||
const QString metadataPath(KStandardDirs::locate("data", QLatin1Literal("desktoptheme/") % d->themeName % QLatin1Literal("/metadata.desktop")));
|
||||
KConfig metadata(metadataPath);
|
||||
KConfigGroup brandConfig(&metadata, "Branding");
|
||||
return brandConfig.readEntry("homepage", KUrl("http://www.kde.org"));
|
||||
return brandConfig.readEntry("homepage", QUrl("http://www.kde.org"));
|
||||
}
|
||||
|
||||
int Theme::toolTipDelay() const
|
||||
|
Loading…
Reference in New Issue
Block a user