summaryrefslogtreecommitdiffstats
path: root/src/widget/hexspinbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/hexspinbox.h')
-rw-r--r--src/widget/hexspinbox.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/widget/hexspinbox.h b/src/widget/hexspinbox.h
index 36d2df59bc..d440deff32 100644
--- a/src/widget/hexspinbox.h
+++ b/src/widget/hexspinbox.h
@@ -1,5 +1,4 @@
-#ifndef HEXSPINBOX_H
-#define HEXSPINBOX_H
+#pragma once
#include <QSpinBox>
#include <QValidator>
@@ -13,5 +12,3 @@ class HexSpinBox : public QSpinBox {
int valueFromText(const QString& text) const override;
QValidator::State validate(QString& input, int& pos) const override;
};
-
-#endif /* HEXSPINBOX_H */