Skip to content

Commit 810241f

Browse files
committed
one level deeper
1 parent 304275a commit 810241f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/qgsapplication.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ void QgsApplication::init( QString profileFolder )
208208
}
209209
else
210210
{
211-
if ( ABISYM( mPrefixPath ).isNull() )
211+
char *prefixPath = getenv( "QGIS_PREFIX_PATH" );
212+
if ( !prefixPath )
212213
{
213-
char *prefixPath = getenv( "QGIS_PREFIX_PATH" );
214-
if ( !prefixPath )
214+
if ( ABISYM( mPrefixPath ).isNull() )
215215
{
216216
#if defined(Q_OS_MACX) || defined(Q_OS_WIN)
217217
setPrefixPath( applicationDirPath(), true );

0 commit comments

Comments
 (0)