Skip to content

Commit

Permalink
set desktop file name
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogomchungu committed Nov 20, 2024
1 parent 98f48fa commit ddc8999
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ int start( int argc,char * argv[],
{
QApplication mqApp( argc,argv ) ;

#if QT_VERSION >= QT_VERSION_CHECK( 5,7,0 )

if( utility::platformisFlatPak() ){

mqApp.setDesktopFileName( "io.github.mhogomchungu.media-downloader" ) ;
}else{
mqApp.setDesktopFileName( "media-downloader" ) ;
}
#endif

ss.setTheme( mqApp,paths.themePath() ) ;

const auto& args = cargs.arguments() ;
Expand Down

0 comments on commit ddc8999

Please sign in to comment.