From 90852da0a2ce60fe3ddaff819f2634ed55dbe943 Mon Sep 17 00:00:00 2001 From: Boudewijn Rempt Date: Thu, 27 Sep 2018 10:09:47 +0200 Subject: Fix building with Qt 5.6 BUG:399130 --- libs/ui/tool/KisToolChangesTracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ui/tool/KisToolChangesTracker.cpp b/libs/ui/tool/KisToolChangesTracker.cpp index 6f4e30d..b817754 100644 --- a/libs/ui/tool/KisToolChangesTracker.cpp +++ b/libs/ui/tool/KisToolChangesTracker.cpp @@ -52,7 +52,7 @@ void KisToolChangesTracker::requestUndo() KisToolChangesTrackerDataSP KisToolChangesTracker::lastState() const { - return !m_d->undoStack.isEmpty() ? m_d->undoStack.last() : 0; + return !m_d->undoStack.isEmpty() ? m_d->undoStack.last() : static_cast>(0); } void KisToolChangesTracker::reset() -- cgit v0.11.2