Commit bbb097c3 authored by dt's avatar dt
Browse files

ActionManager: Fix CommandAttribute enum to actually use a bit per value

Task-Nr: QTCREATORBUG-3517
Reviewed-By: con
parent 0c60770f
......@@ -54,10 +54,10 @@ class CORE_EXPORT Command : public QObject
Q_OBJECT
public:
enum CommandAttribute {
CA_Hide,
CA_UpdateText,
CA_UpdateIcon,
CA_NonConfigureable
CA_Hide = 1,
CA_UpdateText = 2,
CA_UpdateIcon = 4,
CA_NonConfigureable = 8
};
Q_DECLARE_FLAGS(CommandAttributes, CommandAttribute)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment