Skip to content

Commit

Permalink
Testing a thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Dec 13, 2020
1 parent ccbb0de commit 36062ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/gui/dialogs/preferences_dialog.cpp
Expand Up @@ -112,7 +112,7 @@ void volume_setter_on_change(widget& w)
} // end anon namespace

using namespace preferences;
using avp = preferences::advanced_manager::option;
using avp = preferences::advanced_manager;

REGISTER_DIALOG(preferences_dialog)

Expand Down
1 change: 0 additions & 1 deletion src/gui/dialogs/preferences_dialog.hpp
Expand Up @@ -25,7 +25,6 @@

#include <boost/dynamic_bitset.hpp>

class game_config_view;
// This file is not named preferences.hpp in order -I conflicts with
// src/preferences.hpp.

Expand Down
6 changes: 3 additions & 3 deletions src/preferences/advanced.hpp
Expand Up @@ -31,14 +31,14 @@ class advanced_manager

~advanced_manager();

enum class type { TOGGLE, SLIDER, COMBO, SPECIAL };

struct option
{
option(const config& pref);

enum class type { TOGGLE, SLIDER, COMBO, SPECIAL };

/** The preference type. */
option::type type;
type type;

/** Displayed name. */
t_string name;
Expand Down

0 comments on commit 36062ed

Please sign in to comment.