From ea79cd76780dea0dc890ff84163898e27786c5b6 Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Tue, 9 Dec 2025 18:22:24 +0100 Subject: [PATCH] Use namespace alias --- apps/openmw/mwgui/settingswindow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/openmw/mwgui/settingswindow.cpp b/apps/openmw/mwgui/settingswindow.cpp index 6b73bd9f87..612e72152e 100644 --- a/apps/openmw/mwgui/settingswindow.cpp +++ b/apps/openmw/mwgui/settingswindow.cpp @@ -139,7 +139,7 @@ namespace } void updateSliderLabel(MyGUI::ScrollBar* scroller, MyGUI::TextBox* textBox, - const std::vector& argNames, const std::vector& args) + const std::vector& argNames, const std::vector& args) { if (textBox != nullptr) { @@ -174,8 +174,8 @@ namespace MWGui { MyGUI::ScrollBar* scroll = current->castType(); std::string_view valueType = getSettingValueType(current); - std::vector argNames; - std::vector args; + std::vector argNames; + std::vector args; if (valueType == "Float" || valueType == "Integer" || valueType == "Cell") { // TODO: ScrollBar isn't meant for this. should probably use a dedicated FloatSlider widget @@ -729,8 +729,8 @@ namespace MWGui { if (getSettingType(scroller) == "Slider") { - std::vector argNames; - std::vector args; + std::vector argNames; + std::vector args; std::string_view valueType = getSettingValueType(scroller); if (valueType == "Float" || valueType == "Integer" || valueType == "Cell") {