Browse Source

Fix desktop entry; Fix PREFIX usage for translation path

dynamic_words_list
squeaky otter 5 years ago
parent
commit
7e9ed9cb49
Signed by: dashie GPG Key ID: C2D57B325840B755
  1. 2
      cutecw.desktop
  2. 2
      main.cpp

2
cutecw.desktop

@ -4,7 +4,7 @@ Version=1.0
Type=Application
Terminal=false
Name=CuteCW
Exec=/usr/bin/cutecw
Exec=/usr/local/bin/cutecw
Icon=cutecw
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true

2
main.cpp

@ -15,7 +15,7 @@ QString findTranslations() {
#endif
#if defined(Q_OS_X11) || defined(Q_OS_LINUX)
searchDirs.append(PREFIX"/usr/share/cutecw/");
searchDirs.append(PREFIX"/share/cutecw/");
searchDirs.append("/usr/share/cutecw/");
#elif defined(Q_OS_WIN)
searchDirs.append(QCoreApplication::applicationDirPath());

Loading…
Cancel
Save