Debugger: Replace the QVariant callback cookies by direct parameters

Lambda makes it possible.

Change-Id: I26a4df71dcd24b76a4f0d6d67545b2e1c6ba2412
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
hjk
2015-02-06 01:26:47 +01:00
parent d9e7a6e6af
commit 968ba7b74d
10 changed files with 160 additions and 261 deletions

View File

@@ -48,21 +48,6 @@ enum StackColumns
StackColumnCount = StackAddressColumn,
};
////////////////////////////////////////////////////////////////////////
//
// StackCookie
//
////////////////////////////////////////////////////////////////////////
struct StackCookie
{
StackCookie() : isFull(true), gotoLocation(false) {}
StackCookie(bool full, bool jump) : isFull(full), gotoLocation(jump) {}
bool isFull;
bool gotoLocation;
};
////////////////////////////////////////////////////////////////////////
//
// StackModel
@@ -120,7 +105,4 @@ private:
} // namespace Internal
} // namespace Debugger
Q_DECLARE_METATYPE(Debugger::Internal::StackCookie)
#endif // DEBUGGER_STACKHANDLER_H