Skip to content

Commit 6914345

Browse files
refactor: drop qEnvironmentVariableIsSet conditional compile
since Qt5.15 needed
1 parent aa06872 commit 6914345

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

makespec/BUILDVERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
126
1+
127

src/base/LemonBase.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,12 @@ namespace Lemon {
4444
//
4545
list << makeAbs("/usr/share/lemon-lime/" + dirName);
4646
list << makeAbs("/usr/local/share/lemon-lime/" + dirName);
47-
// For AppImage?
48-
list << makeAbs(QCoreApplication::applicationDirPath() + "/../share/lemon-lime/" + dirName);
4947
// For Snap
50-
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
5148
if (qEnvironmentVariableIsSet("SNAP")) {
5249
list << makeAbs(qEnvironmentVariable("SNAP") + "/usr/share/lemon-lime/" + dirName);
5350
}
5451
if (qEnvironmentVariableIsSet("APPIMAGE"))
5552
list << makeAbs(QCoreApplication::applicationDirPath() + "/../share/lemon-lime/" + dirName);
56-
#endif
5753
#elif defined(Q_OS_MAC)
5854
// macOS platform directories.
5955
list << QDir(QCoreApplication::applicationDirPath() + "/../Resources/" + dirName).absolutePath();

0 commit comments

Comments
 (0)