Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Disable possibility of adding "Zoom Action" widget to the toolbars
Dmitry Kazakov7b609410a5d7
diff --git a/libs/widgets/KoZoomController.cpp b/libs/widgets/KoZoomController.cppindex 0593cd83ca..6e162b357e 100644--- a/libs/widgets/KoZoomController.cpp+++ b/libs/widgets/KoZoomController.cpp@@ -36,8 +36,6 @@ void KoZoomController::Private::init(KoCanvasController *co,connect(action, SIGNAL(zoomedToAll()),parent, SIGNAL(zoomedToAll()));- actionCollection->addAction("view_zoom", action);-connect(canvasController->proxyObject, SIGNAL(sizeChanged(QSize)), parent, SLOT(setAvailableSize()) );connect(canvasController->proxyObject, SIGNAL(zoomRelative(qreal,QPointF)), parent, SLOT(requestZoomRelative(qreal,QPointF)) );