]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
radiant/preferences: Remove unused variable
authorAntoine Fontaine <antoine.fontaine@epfl.ch>
Sun, 21 Mar 2021 12:20:35 +0000 (13:20 +0100)
committerAntoine Fontaine <antoine.fontaine@epfl.ch>
Tue, 23 Mar 2021 12:34:41 +0000 (13:34 +0100)
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 );