mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-02-14 22:44:00 +00:00
Use defined(Q_OS_LINUX) || defined(Q_OS_UNIX) where applicable to support BSD OSs. (#264)
This commit is contained in:
committed by
Dharkael
parent
c75c9aa7f8
commit
df3958e43a
@@ -41,7 +41,7 @@ QStringList PathInfo::translationsPaths() {
|
||||
QString binaryPath = QFileInfo(qApp->applicationDirPath())
|
||||
.absoluteFilePath();
|
||||
QString trPath = QDir::toNativeSeparators(binaryPath + "/translations") ;
|
||||
#if defined(Q_OS_LINUX)
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_UNIX)
|
||||
return QStringList()
|
||||
<< QString(APP_PREFIX) + "/share/flameshot/translations"
|
||||
<< trPath
|
||||
|
||||
Reference in New Issue
Block a user