Commit 4686d100 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Add a bit of debugging capabilities to KisCachedPaintDevice

CCBUG:412361
parent e57bcfc2
......@@ -43,6 +43,10 @@ public:
m_stack.push(device);
}
bool isEmpty() const {
return m_stack.isEmpty();
}
struct Guard {
Guard(KisPaintDeviceSP prototype, KisCachedPaintDevice &parent)
: m_parent(parent)
......@@ -87,6 +91,10 @@ public:
m_stack.push(selection);
}
bool isEmpty() const {
return m_stack.isEmpty();
}
struct Guard {
Guard(KisCachedSelection &parent)
: m_parent(parent)
......
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