Skip to content

armgit / krita

Public Imported from GitHub
0

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++

Qt6: fix some more sig/slot connections

Halla Rempt5efc49837b69
diff --git a/libs/ui/kis_node_manager.h b/libs/ui/kis_node_manager.h
index aac53724b1..92692174e5 100644
--- a/libs/ui/kis_node_manager.h
+++ b/libs/ui/kis_node_manager.h
@@ -58,7 +58,7 @@ Q_SIGNALS:
/// preventing loops (I think...)
void sigUiNeedChangeActiveNode(KisNodeSP node);
- void sigUiNeedChangeSelectedNodes(const KisNodeList &nodes);
+ void sigUiNeedChangeSelectedNodes(const QList<KisNodeSP> &nodes);
public:
diff --git a/libs/widgets/KoZoomAction.cpp b/libs/widgets/KoZoomAction.cpp
index 702efcbe23..91059213eb 100644
--- a/libs/widgets/KoZoomAction.cpp
+++ b/libs/widgets/KoZoomAction.cpp
@@ -118,8 +118,7 @@ KoZoomAction::KoZoomAction(KoZoomMode::Modes zoomModes, const QString& text, QOb
d->effectiveZoom = 1.0;
regenerateItems(d->effectiveZoom);
-
- connect( this, SIGNAL(triggered(QString)), SLOT(triggered(QString)) );
+ connect( this, SIGNAL(textTriggered(QString)), SLOT(triggered(QString)));
connect(&d->guiUpdateCompressor, SIGNAL(timeout()), SLOT(slotUpdateGuiAfterZoom()));
}