From 8e482c42a923b13f90a0fc783bd79b17edbed442 Mon Sep 17 00:00:00 2001 From: Markus Diem Date: Tue, 9 Jan 2018 10:57:34 +0100 Subject: [PATCH] fixes nomacs API changes --- AffineTransformations/src/DkImgTransformationsPlugin.cpp | 3 ++- PaintPlugin/src/DkPaintPlugin.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AffineTransformations/src/DkImgTransformationsPlugin.cpp b/AffineTransformations/src/DkImgTransformationsPlugin.cpp index fc1b498..585bfa6 100644 --- a/AffineTransformations/src/DkImgTransformationsPlugin.cpp +++ b/AffineTransformations/src/DkImgTransformationsPlugin.cpp @@ -740,7 +740,8 @@ void DkImgTransformationsViewPort::setVisible(bool visible) { } - if (imgTransformationsToolbar) emit showToolbar(imgTransformationsToolbar, visible); + if (imgTransformationsToolbar) + emit showToolBar(imgTransformationsToolbar, visible); setMode(defaultMode); DkPluginViewPort::setVisible(visible); diff --git a/PaintPlugin/src/DkPaintPlugin.cpp b/PaintPlugin/src/DkPaintPlugin.cpp index 1faa19e..908c0e2 100644 --- a/PaintPlugin/src/DkPaintPlugin.cpp +++ b/PaintPlugin/src/DkPaintPlugin.cpp @@ -401,7 +401,7 @@ bool DkPaintViewPort::isCanceled() { void DkPaintViewPort::setVisible(bool visible) { if (paintToolbar) - emit showToolbar(paintToolbar, visible); + emit showToolBar(paintToolbar, visible); DkPluginViewPort::setVisible(visible); }