summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences
diff options
context:
space:
mode:
authorGravatar Martin Měřinský <mermar@centrum.cz>2017-11-28 08:37:01 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-30 23:14:46 -0800
commit0855f6f31577789888aa6d9b955c1bc46ed34d40 (patch)
treee1f55758e3982a3dea0a3966536843cbed84afc5 /desktop-widgets/preferences
parent9cc0d04048e0c50e82525fde476345c8f951b0e7 (diff)
downloadsubsurface-0855f6f31577789888aa6d9b955c1bc46ed34d40.tar.gz
Use icons relative path.
Icon paths are defined in one place only - application's embedded resources. Signed-off-by: Martin Měřinský <mermar@centrum.cz>
Diffstat (limited to 'desktop-widgets/preferences')
-rw-r--r--desktop-widgets/preferences/preferences_georeference.cpp2
-rw-r--r--desktop-widgets/preferences/preferences_language.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/preferences/preferences_georeference.cpp b/desktop-widgets/preferences/preferences_georeference.cpp
index d839f9e29..1d960d4b5 100644
--- a/desktop-widgets/preferences/preferences_georeference.cpp
+++ b/desktop-widgets/preferences/preferences_georeference.cpp
@@ -8,7 +8,7 @@
#include <ctime>
-PreferencesGeoreference::PreferencesGeoreference() : AbstractPreferencesWidget(tr("Georeference"), QIcon(":/georeference"), 9)
+PreferencesGeoreference::PreferencesGeoreference() : AbstractPreferencesWidget(tr("Georeference"), QIcon(":georeference"), 9)
{
ui = new Ui::PreferencesGeoreference();
ui->setupUi(this);
diff --git a/desktop-widgets/preferences/preferences_language.cpp b/desktop-widgets/preferences/preferences_language.cpp
index 5f7b5f488..def46a0e2 100644
--- a/desktop-widgets/preferences/preferences_language.cpp
+++ b/desktop-widgets/preferences/preferences_language.cpp
@@ -10,7 +10,7 @@
#include "qt-models/models.h"
-PreferencesLanguage::PreferencesLanguage() : AbstractPreferencesWidget(tr("Language"), QIcon(":/language"), 4)
+PreferencesLanguage::PreferencesLanguage() : AbstractPreferencesWidget(tr("Language"), QIcon(":language"), 4)
{
ui = new Ui::PreferencesLanguage();
ui->setupUi(this);