]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/preferences.cpp
radiant/preferences: Remove unused variable
[xonotic/netradiant.git] / radiant / preferences.cpp
index 3cfc420c32b742fc36980cb53f8b050d9b4a4894..6fca8c12d4152fce787c79a40b2303115fd4f5ee 100644 (file)
@@ -705,8 +705,6 @@ ui::Window PrefsDlg::BuildDialog(){
        PreferencesDialog_addInterfacePreferences( makeCallbackF(Interface_constructPreferences) );
        Mouse_registerPreferencesPage();
 
-       ui::Window main_window = MainFrame_getWindow();
-
        ui::Window dialog = ui::Window(create_floating_window( RADIANT_NAME " Preferences", m_parent ));
 
        gtk_window_set_transient_for( dialog, m_parent );