Skip to content
Permalink
Browse files
windows: make shortcut name configurable via environment variable QGI…
…S_WIN_APP_NAME (fixes #28709)
  • Loading branch information
jef-n committed Jul 13, 2021
1 parent 494735a commit db74bf53c89df4959927e862e13635e31b45fc2a
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/native/win/qgswinnative.cpp
@@ -64,7 +64,11 @@ void QgsWinNative::initializeMainWindow( QWindow *window,
mTaskProgress = mTaskButton->progress();
mTaskProgress->setVisible( false );

WinToastLib::WinToast::instance()->setAppName( applicationName.toStdWString() );
QString appName = qgetenv( "QGIS_WIN_APP_NAME" );
if ( appName.isEmpty() )
appName = applicationName;

WinToastLib::WinToast::instance()->setAppName( appName.toStdWString() );
WinToastLib::WinToast::instance()->setAppUserModelId(
WinToastLib::WinToast::configureAUMI( organizationName.toStdWString(),
applicationName.toStdWString(),

0 comments on commit db74bf5

Please sign in to comment.