krita/fix-build-with-Qt5.6.patch

27 lines
893 B
Diff
Raw Normal View History

From 90852da0a2ce60fe3ddaff819f2634ed55dbe943 Mon Sep 17 00:00:00 2001
Accepting request 623921 from home:wolfi323:branches:KDE:Extra - Update to 4.1.1: * See https://krita.org/en/item/krita-4-1-1-released/ * Fix loading PyKrita when using PyQt 5.11 (kde#396381) * Fix possible crashes with vector objects (kde#396145) * Fix an issue when resizing pixel brushes in the brush editor (kde#396136) * Don't show the unimplemented color picker button in the vector object tool properties docker (kde#389525) * Fix activation of the autosave time after a modify, save, modify cycle (kde#393266) * Fix out-of-range lookups in the cross-channel curve filter (kde#396244) * Fix an assert when pressing PageUp into the reference images layer * Avoid a crash when merging layers in isolated mode (kde#395981) * Fix loading files with a transformation mask that uses the box transformation filter (kde#395979) * Fix activating the transform tool if the Box transformation filter was selected (kde#395979) * Fix a crash when hiding the last visible channel (kde#395301) * Make it possible to load non-conforming GPL palettes like https://lospec.com/palette-list/endesga-16 * Simplify display of the warp transformation grid * Re-add the Invert Selection menu entry (kde#395764) * Use KFormat to show formatted numbers * Hide the color sliders config page * Don't pick colors from fully transparent reference images (kde#396358) * Fix a crash when embedding a reference image * Fix some problems when saving and loading reference images (kde#396143) * Fix the color picker tool not working on reference images (kde#396144) * Extend the panning range to include any reference images - Add fix-build-with-Qt5.6.patch to make it compile on Leap 42.3 (kde#396594) OBS-URL: https://build.opensuse.org/request/show/623921 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=79
2018-07-18 21:07:49 +02:00
From: Boudewijn Rempt <boud@valdyas.org>
Date: Thu, 27 Sep 2018 10:09:47 +0200
Subject: Fix building with Qt 5.6
Accepting request 623921 from home:wolfi323:branches:KDE:Extra - Update to 4.1.1: * See https://krita.org/en/item/krita-4-1-1-released/ * Fix loading PyKrita when using PyQt 5.11 (kde#396381) * Fix possible crashes with vector objects (kde#396145) * Fix an issue when resizing pixel brushes in the brush editor (kde#396136) * Don't show the unimplemented color picker button in the vector object tool properties docker (kde#389525) * Fix activation of the autosave time after a modify, save, modify cycle (kde#393266) * Fix out-of-range lookups in the cross-channel curve filter (kde#396244) * Fix an assert when pressing PageUp into the reference images layer * Avoid a crash when merging layers in isolated mode (kde#395981) * Fix loading files with a transformation mask that uses the box transformation filter (kde#395979) * Fix activating the transform tool if the Box transformation filter was selected (kde#395979) * Fix a crash when hiding the last visible channel (kde#395301) * Make it possible to load non-conforming GPL palettes like https://lospec.com/palette-list/endesga-16 * Simplify display of the warp transformation grid * Re-add the Invert Selection menu entry (kde#395764) * Use KFormat to show formatted numbers * Hide the color sliders config page * Don't pick colors from fully transparent reference images (kde#396358) * Fix a crash when embedding a reference image * Fix some problems when saving and loading reference images (kde#396143) * Fix the color picker tool not working on reference images (kde#396144) * Extend the panning range to include any reference images - Add fix-build-with-Qt5.6.patch to make it compile on Leap 42.3 (kde#396594) OBS-URL: https://build.opensuse.org/request/show/623921 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=79
2018-07-18 21:07:49 +02:00
BUG:399130
Accepting request 623921 from home:wolfi323:branches:KDE:Extra - Update to 4.1.1: * See https://krita.org/en/item/krita-4-1-1-released/ * Fix loading PyKrita when using PyQt 5.11 (kde#396381) * Fix possible crashes with vector objects (kde#396145) * Fix an issue when resizing pixel brushes in the brush editor (kde#396136) * Don't show the unimplemented color picker button in the vector object tool properties docker (kde#389525) * Fix activation of the autosave time after a modify, save, modify cycle (kde#393266) * Fix out-of-range lookups in the cross-channel curve filter (kde#396244) * Fix an assert when pressing PageUp into the reference images layer * Avoid a crash when merging layers in isolated mode (kde#395981) * Fix loading files with a transformation mask that uses the box transformation filter (kde#395979) * Fix activating the transform tool if the Box transformation filter was selected (kde#395979) * Fix a crash when hiding the last visible channel (kde#395301) * Make it possible to load non-conforming GPL palettes like https://lospec.com/palette-list/endesga-16 * Simplify display of the warp transformation grid * Re-add the Invert Selection menu entry (kde#395764) * Use KFormat to show formatted numbers * Hide the color sliders config page * Don't pick colors from fully transparent reference images (kde#396358) * Fix a crash when embedding a reference image * Fix some problems when saving and loading reference images (kde#396143) * Fix the color picker tool not working on reference images (kde#396144) * Extend the panning range to include any reference images - Add fix-build-with-Qt5.6.patch to make it compile on Leap 42.3 (kde#396594) OBS-URL: https://build.opensuse.org/request/show/623921 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=79
2018-07-18 21:07:49 +02:00
---
libs/ui/tool/KisToolChangesTracker.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Accepting request 623921 from home:wolfi323:branches:KDE:Extra - Update to 4.1.1: * See https://krita.org/en/item/krita-4-1-1-released/ * Fix loading PyKrita when using PyQt 5.11 (kde#396381) * Fix possible crashes with vector objects (kde#396145) * Fix an issue when resizing pixel brushes in the brush editor (kde#396136) * Don't show the unimplemented color picker button in the vector object tool properties docker (kde#389525) * Fix activation of the autosave time after a modify, save, modify cycle (kde#393266) * Fix out-of-range lookups in the cross-channel curve filter (kde#396244) * Fix an assert when pressing PageUp into the reference images layer * Avoid a crash when merging layers in isolated mode (kde#395981) * Fix loading files with a transformation mask that uses the box transformation filter (kde#395979) * Fix activating the transform tool if the Box transformation filter was selected (kde#395979) * Fix a crash when hiding the last visible channel (kde#395301) * Make it possible to load non-conforming GPL palettes like https://lospec.com/palette-list/endesga-16 * Simplify display of the warp transformation grid * Re-add the Invert Selection menu entry (kde#395764) * Use KFormat to show formatted numbers * Hide the color sliders config page * Don't pick colors from fully transparent reference images (kde#396358) * Fix a crash when embedding a reference image * Fix some problems when saving and loading reference images (kde#396143) * Fix the color picker tool not working on reference images (kde#396144) * Extend the panning range to include any reference images - Add fix-build-with-Qt5.6.patch to make it compile on Leap 42.3 (kde#396594) OBS-URL: https://build.opensuse.org/request/show/623921 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=79
2018-07-18 21:07:49 +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()
Accepting request 623921 from home:wolfi323:branches:KDE:Extra - Update to 4.1.1: * See https://krita.org/en/item/krita-4-1-1-released/ * Fix loading PyKrita when using PyQt 5.11 (kde#396381) * Fix possible crashes with vector objects (kde#396145) * Fix an issue when resizing pixel brushes in the brush editor (kde#396136) * Don't show the unimplemented color picker button in the vector object tool properties docker (kde#389525) * Fix activation of the autosave time after a modify, save, modify cycle (kde#393266) * Fix out-of-range lookups in the cross-channel curve filter (kde#396244) * Fix an assert when pressing PageUp into the reference images layer * Avoid a crash when merging layers in isolated mode (kde#395981) * Fix loading files with a transformation mask that uses the box transformation filter (kde#395979) * Fix activating the transform tool if the Box transformation filter was selected (kde#395979) * Fix a crash when hiding the last visible channel (kde#395301) * Make it possible to load non-conforming GPL palettes like https://lospec.com/palette-list/endesga-16 * Simplify display of the warp transformation grid * Re-add the Invert Selection menu entry (kde#395764) * Use KFormat to show formatted numbers * Hide the color sliders config page * Don't pick colors from fully transparent reference images (kde#396358) * Fix a crash when embedding a reference image * Fix some problems when saving and loading reference images (kde#396143) * Fix the color picker tool not working on reference images (kde#396144) * Extend the panning range to include any reference images - Add fix-build-with-Qt5.6.patch to make it compile on Leap 42.3 (kde#396594) OBS-URL: https://build.opensuse.org/request/show/623921 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=79
2018-07-18 21:07:49 +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);
}
Accepting request 623921 from home:wolfi323:branches:KDE:Extra - Update to 4.1.1: * See https://krita.org/en/item/krita-4-1-1-released/ * Fix loading PyKrita when using PyQt 5.11 (kde#396381) * Fix possible crashes with vector objects (kde#396145) * Fix an issue when resizing pixel brushes in the brush editor (kde#396136) * Don't show the unimplemented color picker button in the vector object tool properties docker (kde#389525) * Fix activation of the autosave time after a modify, save, modify cycle (kde#393266) * Fix out-of-range lookups in the cross-channel curve filter (kde#396244) * Fix an assert when pressing PageUp into the reference images layer * Avoid a crash when merging layers in isolated mode (kde#395981) * Fix loading files with a transformation mask that uses the box transformation filter (kde#395979) * Fix activating the transform tool if the Box transformation filter was selected (kde#395979) * Fix a crash when hiding the last visible channel (kde#395301) * Make it possible to load non-conforming GPL palettes like https://lospec.com/palette-list/endesga-16 * Simplify display of the warp transformation grid * Re-add the Invert Selection menu entry (kde#395764) * Use KFormat to show formatted numbers * Hide the color sliders config page * Don't pick colors from fully transparent reference images (kde#396358) * Fix a crash when embedding a reference image * Fix some problems when saving and loading reference images (kde#396143) * Fix the color picker tool not working on reference images (kde#396144) * Extend the panning range to include any reference images - Add fix-build-with-Qt5.6.patch to make it compile on Leap 42.3 (kde#396594) OBS-URL: https://build.opensuse.org/request/show/623921 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=79
2018-07-18 21:07:49 +02:00
void KisToolChangesTracker::reset()
Accepting request 623921 from home:wolfi323:branches:KDE:Extra - Update to 4.1.1: * See https://krita.org/en/item/krita-4-1-1-released/ * Fix loading PyKrita when using PyQt 5.11 (kde#396381) * Fix possible crashes with vector objects (kde#396145) * Fix an issue when resizing pixel brushes in the brush editor (kde#396136) * Don't show the unimplemented color picker button in the vector object tool properties docker (kde#389525) * Fix activation of the autosave time after a modify, save, modify cycle (kde#393266) * Fix out-of-range lookups in the cross-channel curve filter (kde#396244) * Fix an assert when pressing PageUp into the reference images layer * Avoid a crash when merging layers in isolated mode (kde#395981) * Fix loading files with a transformation mask that uses the box transformation filter (kde#395979) * Fix activating the transform tool if the Box transformation filter was selected (kde#395979) * Fix a crash when hiding the last visible channel (kde#395301) * Make it possible to load non-conforming GPL palettes like https://lospec.com/palette-list/endesga-16 * Simplify display of the warp transformation grid * Re-add the Invert Selection menu entry (kde#395764) * Use KFormat to show formatted numbers * Hide the color sliders config page * Don't pick colors from fully transparent reference images (kde#396358) * Fix a crash when embedding a reference image * Fix some problems when saving and loading reference images (kde#396143) * Fix the color picker tool not working on reference images (kde#396144) * Extend the panning range to include any reference images - Add fix-build-with-Qt5.6.patch to make it compile on Leap 42.3 (kde#396594) OBS-URL: https://build.opensuse.org/request/show/623921 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=79
2018-07-18 21:07:49 +02:00
--
cgit v0.11.2