set window icon for the very 1st configuration dialogs too

This commit is contained in:
Garux
2025-09-16 18:31:33 +05:00
parent c2ce180a0e
commit 6cf1403e48
2 changed files with 3 additions and 4 deletions
+3 -2
View File
@@ -430,6 +430,8 @@ int main( int argc, char* argv[] ){
Sys_LogFile( true );
QApplication::setWindowIcon( new_local_icon( "radiant.ico" ) ); // before any windows, after paths_init()
show_splash();
create_global_pid();
@@ -450,7 +452,6 @@ int main( int argc, char* argv[] ){
// user_shortcuts_init();
g_pParentWnd = 0;
g_pParentWnd = new MainFrame();
hide_splash();
@@ -468,7 +469,7 @@ int main( int argc, char* argv[] ){
remove_local_pid();
qapplication.exec();
QApplication::exec();
Map_Free();
-2
View File
@@ -1665,8 +1665,6 @@ void MainFrame::Create(){
GlobalWindowObservers_connectTopLevel( window );
QApplication::setWindowIcon( new_local_icon( "radiant.ico" ) );
/* GlobalCommands_insert plugins commands */
GetPlugInMgr().Init( window );
/* then load shortcuts cfg */