summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyetool')
-rw-r--r--src/dyetool/client.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dyetool/client.h b/src/dyetool/client.h
index 40a72ef9d..5198d41b7 100644
--- a/src/dyetool/client.h
+++ b/src/dyetool/client.h
@@ -68,10 +68,10 @@ class Client final : public ActionListener
static int testsExec();
- void setState(const State state)
+ void setState(const StateT state)
{ mState = state; }
- State getState() const A_WARN_UNUSED
+ StateT getState() const A_WARN_UNUSED
{ return mState; }
void action(const ActionEvent &event) override final;
@@ -108,8 +108,8 @@ class Client final : public ActionListener
Button *mCloseButton;
#endif
- State mState;
- State mOldState;
+ StateT mState;
+ StateT mOldState;
Skin *mSkin;
int mButtonPadding;