forked from qt-creator/qt-creator
Debugger: Fix "Repeat Last Command" button
Broke by 150af7af4c.
flags must be stored with the command.
Change-Id: If2bac648d7d4b2c341eb6398d92b05660f519114
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
3286113ea8
commit
c2b34fb1ef
@@ -52,9 +52,9 @@ public:
|
||||
typedef std::function<void(const DebuggerResponse &)> Callback;
|
||||
|
||||
DebuggerCommand() {}
|
||||
DebuggerCommand(const char *f) : function(f) {}
|
||||
DebuggerCommand(const QByteArray &f) : function(f) {}
|
||||
DebuggerCommand(const char *f, const QJsonValue &a) : function(f), args(a) {}
|
||||
DebuggerCommand(const char *f, int fl = 0) : function(f), flags(fl) {}
|
||||
DebuggerCommand(const QByteArray &f, int fl = 0) : function(f), flags(fl) {}
|
||||
DebuggerCommand(const char *f, const QJsonValue &a, int fl = 0) : function(f), args(a), flags(fl) {}
|
||||
|
||||
void arg(const char *value);
|
||||
void arg(const char *name, int value);
|
||||
|
||||
Reference in New Issue
Block a user