Skip to content

Commit 72f7e5b

Browse files
committed
Don't flag the "running from build path" warning in the app
message log
1 parent 949853a commit 72f7e5b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/core/qgsapplication.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,11 @@ QString QgsApplication::prefixPath()
441441
{
442442
static bool sOnce = true;
443443
if ( sOnce )
444+
{
445+
QgsMessageLogNotifyBlocker blockNotifications;
446+
( void ) blockNotifications;
444447
qWarning( "!!! prefix path was requested, but it is not valid - we do not run from installed path !!!" );
448+
}
445449
sOnce = false;
446450
}
447451

0 commit comments

Comments
 (0)