mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
set window icon for the very 1st configuration dialogs too
This commit is contained in:
+3
-2
@@ -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();
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user