mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
generic: add HOME_URL to kglobalsettings header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
0ce55c0438
commit
ae32b6c66d
4 changed files with 4 additions and 3 deletions
|
@ -34,7 +34,7 @@ Rectangle {
|
|||
textElement.text = testObject.prop
|
||||
|
||||
//test urls
|
||||
var url = new Url("http://www.kde.org")
|
||||
var url = new Url("https://github.com/fluxer/katana")
|
||||
print(url.protocol)
|
||||
print(url.host)
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ KAboutKdeDialog::KAboutKdeDialog(QWidget *parent)
|
|||
"improved documentation. You decide!</html>"
|
||||
"<br /><br />"
|
||||
"Visit <a href=\"%1\">%1</a> to learn more about Katana.</html>",
|
||||
QLatin1String("http://fluxer.github.io/katana/")));
|
||||
QLatin1String(HOME_URL)));
|
||||
|
||||
QLabel *image = new QLabel;
|
||||
image->setPixmap(KStandardDirs::locate("data", "kdeui/pics/aboutkde.png"));
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
#define KDE_DEFAULT_FIXED_FONT "DejaVu Sans Mono"
|
||||
|
||||
// misc overrides
|
||||
#define HOME_URL "https://github.com/fluxer/katana"
|
||||
#define BUG_REPORT_URL "https://github.com/fluxer/katana/issues"
|
||||
#define BUG_REPORT_EMAIL "xakepa10@gmail.com"
|
||||
|
||||
|
|
|
@ -1082,7 +1082,7 @@ KUrl Theme::homepage() const
|
|||
const QString metadataPath(KStandardDirs::locate("data", QLatin1String("desktoptheme/") + d->themeName + QLatin1String("/metadata.desktop")));
|
||||
KConfig metadata(metadataPath);
|
||||
KConfigGroup brandConfig(&metadata, "Branding");
|
||||
return brandConfig.readEntry("homepage", KUrl("http://www.kde.org"));
|
||||
return brandConfig.readEntry("homepage", KUrl(HOME_URL));
|
||||
}
|
||||
|
||||
int Theme::toolTipDelay() const
|
||||
|
|
Loading…
Add table
Reference in a new issue