[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kcalc/frameworks] /: KF5 port: replace deprecated KAboutData::setProgramIconName()
From: Christoph Feck <christoph () maxiom ! de>
Date: 2014-09-30 22:05:36
Message-ID: E1XZ5Y8-0003kV-OG () scm ! kde ! org
[Download RAW message or body]
Git commit acce3cf6cd5f1c53700e929363a2e43963437e4c by Christoph Feck.
Committed on 24/09/2014 at 23:15.
Pushed by cfeck into branch 'frameworks'.
KF5 port: replace deprecated KAboutData::setProgramIconName()
M +1 -2 kcalc.cpp
http://commits.kde.org/kcalc/acce3cf6cd5f1c53700e929363a2e43963437e4c
diff --git a/kcalc.cpp b/kcalc.cpp
index 65f743e..a2b985b 100644
--- a/kcalc.cpp
+++ b/kcalc.cpp
@@ -2284,10 +2284,9 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char =
*argv[]) {
aboutData.addAuthor(i18n("Michel Marti"), QString(), "mma@objectxp.com");
aboutData.addAuthor(i18n("David Johnson"), QString(), "david@usermode.org=
");
=
- aboutData.setProgramIconName(QLatin1String("accessories-calculator"));
-
QApplication app(argc, argv);
KAboutData::setApplicationData(aboutData);
+ app.setWindowIcon(QIcon::fromTheme(QLatin1String("accessories-calculator"=
)));
=
// force system locale to "C" internally [bug 159168]
setlocale(LC_NUMERIC, "C");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic