mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
HexEditor: Prefer enum class to enum for FindDialog::OptionId
This commit is contained in:
parent
b330d83be4
commit
f742334b93
2 changed files with 9 additions and 9 deletions
|
@ -11,10 +11,10 @@
|
|||
#include <AK/String.h>
|
||||
#include <LibGUI/Dialog.h>
|
||||
|
||||
enum OptionId {
|
||||
OPTION_INVALID = -1,
|
||||
OPTION_ASCII_STRING,
|
||||
OPTION_HEX_VALUE
|
||||
enum class OptionId {
|
||||
Invalid = -1,
|
||||
AsciiString,
|
||||
HexValue
|
||||
};
|
||||
|
||||
class FindDialog : public GUI::Dialog {
|
||||
|
@ -41,5 +41,5 @@ private:
|
|||
|
||||
bool m_find_all { false };
|
||||
String m_text_value;
|
||||
OptionId m_selected_option { OPTION_INVALID };
|
||||
OptionId m_selected_option { OptionId::Invalid };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue