2018-09-27 12:07:39 +02:00
|
|
|
From 90852da0a2ce60fe3ddaff819f2634ed55dbe943 Mon Sep 17 00:00:00 2001
|
2018-07-18 21:07:49 +02:00
|
|
|
From: Boudewijn Rempt <boud@valdyas.org>
|
2018-09-27 12:07:39 +02:00
|
|
|
Date: Thu, 27 Sep 2018 10:09:47 +0200
|
|
|
|
Subject: Fix building with Qt 5.6
|
2018-07-18 21:07:49 +02:00
|
|
|
|
2018-09-27 12:07:39 +02:00
|
|
|
BUG:399130
|
2018-07-18 21:07:49 +02:00
|
|
|
---
|
2018-09-27 12:07:39 +02:00
|
|
|
libs/ui/tool/KisToolChangesTracker.cpp | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2018-07-18 21:07:49 +02:00
|
|
|
|
2018-09-27 12:07:39 +02:00
|
|
|
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()
|
2018-07-18 21:07:49 +02:00
|
|
|
|
2018-09-27 12:07:39 +02:00
|
|
|
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<QSharedPointer<KisToolChangesTrackerData>>(0);
|
|
|
|
}
|
2018-07-18 21:07:49 +02:00
|
|
|
|
2018-09-27 12:07:39 +02:00
|
|
|
void KisToolChangesTracker::reset()
|
2018-07-18 21:07:49 +02:00
|
|
|
--
|
|
|
|
cgit v0.11.2
|
|
|
|
|