Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 80b23e0f authored by Boudewijn Rempt's avatar Boudewijn Rempt

Fix warning

/home/boud/dev/krita/plugins/tools/tool_transform2/kis_tool_transform.cc: In member function ‘virtual QMenu* KisToolTransform::popupActionsMenu()’:
/home/boud/dev/krita/plugins/tools/tool_transform2/kis_tool_transform.cc:357:51: warning: comparison between ‘enum KisToolTransform::TransformToolMode’ and ‘enum ToolTransformArgs::TransformMode’ [-Wenum-compare]
         if (transformMode() == ToolTransformArgs::FREE_TRANSFORM) {
                                                   ^
parent 50c01b14
......@@ -354,7 +354,7 @@ QMenu* KisToolTransform::popupActionsMenu()
m_contextMenu->addAction(liquifyAction);
// extra options if free transform is selected
if (transformMode() == ToolTransformArgs::FREE_TRANSFORM) {
if (transformMode() == FreeTransformMode) {
m_contextMenu->addSeparator();
m_contextMenu->addAction(mirrorHorizontalAction);
m_contextMenu->addAction(mirrorVericalAction);
......
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