summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <caulier.gilles@gmail.com>2016-08-31 11:06:47 (GMT)
committerGilles Caulier <caulier.gilles@gmail.com>2016-08-31 11:06:47 (GMT)
commit0251c37850b0ce7623981f0697a02b221d7ead38 (patch)
tree597dae65afcba551e08b7e8faf4e7476b93996df
parentb1481c5277d095f3debabb69b2dd85a752174d40 (diff)
use kipi qrc
-rw-r--r--tests/kipicmd/main.cpp2
-rw-r--r--tests/kxmlkipicmd/kipisetup.cpp2
-rw-r--r--tests/kxmlkipicmd/main.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/kipicmd/main.cpp b/tests/kipicmd/main.cpp
index 5a554de..00a9bf5 100644
--- a/tests/kipicmd/main.cpp
+++ b/tests/kipicmd/main.cpp
@@ -316,7 +316,7 @@ int main(int argc, char* argv[])
app.setApplicationVersion(QLatin1String(KIPI_VERSION_STRING));
app.setOrganizationName(QLatin1String("http://www.digikam.org"));
app.setWindowIcon(QIcon(QStandardPaths::locate(QStandardPaths::GenericDataLocation,
- QLatin1String("kf5/kipi/pics/kipi-icon.svg"))));
+ QLatin1String(":/images/kipi-icon.svg"))));
QCommandLineParser parser;
parser.addVersionOption();
diff --git a/tests/kxmlkipicmd/kipisetup.cpp b/tests/kxmlkipicmd/kipisetup.cpp
index e36a609..8eec3bb 100644
--- a/tests/kxmlkipicmd/kipisetup.cpp
+++ b/tests/kxmlkipicmd/kipisetup.cpp
@@ -128,7 +128,7 @@ KipiSetup::KipiSetup(QWidget* const parent)
sv->setWidget(panel);
sv->setWidgetResizable(true);
- d->tabView->insertTab(KipiPluginsPage, sv, QIcon::fromTheme(QString::fromLatin1("kipi")), QLatin1String("Kipi Plugins"));
+ d->tabView->insertTab(KipiPluginsPage, sv, QIcon(QLatin1String(":/icons/kipi-icon.svg")), QLatin1String("Kipi Plugins"));
d->xmlPage = new SetupXML(d->tabView);
d->xmlPage->setToolTip(QLatin1String("Configure the UI file for the KXMLKipiCmd application"));
diff --git a/tests/kxmlkipicmd/main.cpp b/tests/kxmlkipicmd/main.cpp
index 711eb6a..9f201ed 100644
--- a/tests/kxmlkipicmd/main.cpp
+++ b/tests/kxmlkipicmd/main.cpp
@@ -60,7 +60,7 @@ int main(int argc, char* argv[])
app.setApplicationVersion(QLatin1String(KIPI_VERSION_STRING));
app.setOrganizationName(QLatin1String("http://www.digikam.org"));
app.setWindowIcon(QIcon(QStandardPaths::locate(QStandardPaths::GenericDataLocation,
- QLatin1String("kf5/kipi/pics/kipi-icon.svg"))));
+ QLatin1String(":/images/kipi-icon.svg"))));
QCommandLineParser parser;
parser.addVersionOption();