diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-07 16:57:26 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-07 16:57:26 +0200 |
commit | a635619cc03bfecde9ab82767ec2a8d95b4b46aa (patch) | |
tree | 9a90f5ebe2338228377b20333cce0798f32896d2 /Applications/DisplayProperties | |
parent | 568936775fc2406a5d604e7782e42a108597f98a (diff) | |
download | serenity-a635619cc03bfecde9ab82767ec2a8d95b4b46aa.zip |
GTabWidget: Rename get_active_tab() => active_tab_index()
Diffstat (limited to 'Applications/DisplayProperties')
-rw-r--r-- | Applications/DisplayProperties/DisplayProperties.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/DisplayProperties/DisplayProperties.cpp b/Applications/DisplayProperties/DisplayProperties.cpp index 74a1dacb7f..090a2dbd1e 100644 --- a/Applications/DisplayProperties/DisplayProperties.cpp +++ b/Applications/DisplayProperties/DisplayProperties.cpp @@ -113,7 +113,7 @@ void DisplayPropertiesWidget::create_frame() apply_button->set_size_policy(Orientation::Horizontal, SizePolicy::Fixed); apply_button->set_preferred_size(60, 22); apply_button->on_click = [this, tab_widget](GButton&) { - send_settings_to_window_server(tab_widget->get_active_tab()); + send_settings_to_window_server(tab_widget->active_tab_index()); }; auto* ok_button = new GButton(bottom_widget); @@ -122,7 +122,7 @@ void DisplayPropertiesWidget::create_frame() ok_button->set_size_policy(Orientation::Horizontal, SizePolicy::Fixed); ok_button->set_preferred_size(60, 22); ok_button->on_click = [this, tab_widget](GButton&) { - send_settings_to_window_server(tab_widget->get_active_tab()); + send_settings_to_window_server(tab_widget->active_tab_index()); GApplication::the().quit(); }; |