r24882 by craig - Qt6 runtime fix: Fix more signals for QComboBox

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 2 21:01:00 UTC 2022


Author: craig
Date: Wed Feb  2 21:00:59 2022
New Revision: 24882

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24882
Log:
Qt6 runtime fix: Fix more signals for QComboBox

Modified:
    trunk/Scribus/scribus/ui/cpalette.cpp

Modified: trunk/Scribus/scribus/ui/cpalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24882&path=/trunk/Scribus/scribus/ui/cpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/cpalette.cpp	(original)
+++ trunk/Scribus/scribus/ui/cpalette.cpp	Wed Feb  2 21:00:59 2022
@@ -164,8 +164,8 @@
 	connect(gradEditStroke, SIGNAL(gradientChanged()), this, SLOT(handleStrokeGradient()));
 	connect(gradientType  , SIGNAL(activated(int)), this, SLOT(slotGradType(int)));
 	connect(gradientTypeStroke , SIGNAL(activated(int)), this, SLOT(slotGradTypeStroke(int)));
-	connect(namedGradient , SIGNAL(activated(const QString &)), this, SLOT(setNamedGradient(const QString &)));
-	connect(namedGradientStroke, SIGNAL(activated(const QString &)), this, SLOT(setNamedGradientStroke(const QString &)));
+	connect(namedGradient , SIGNAL(currentTextChanged(const QString &)), this, SLOT(setNamedGradient(const QString &)));
+	connect(namedGradientStroke, SIGNAL(currentTextChanged(const QString &)), this, SLOT(setNamedGradientStroke(const QString &)));
 	connect(overPrintCombo     , SIGNAL(activated(int)), this, SIGNAL(NewOverprint(int)));
 	connect(patternBox         , SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(selectPattern(QListWidgetItem*)));
 	connect(patternBoxStroke   , SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(selectPatternS(QListWidgetItem*)));
@@ -224,8 +224,8 @@
 	disconnect(gradEditStroke, SIGNAL(gradientChanged()), this, SLOT(handleStrokeGradient()));
 	disconnect(gradientType  , SIGNAL(activated(int)), this, SLOT(slotGradType(int)));
 	disconnect(gradientTypeStroke , SIGNAL(activated(int)), this, SLOT(slotGradTypeStroke(int)));
-	disconnect(namedGradient , SIGNAL(textActivated(const QString &)), this, SLOT(setNamedGradient(const QString &)));
-	disconnect(namedGradientStroke, SIGNAL(textActivated(const QString &)), this, SLOT(setNamedGradientStroke(const QString &)));
+	disconnect(namedGradient , SIGNAL(currentTextChanged(const QString &)), this, SLOT(setNamedGradient(const QString &)));
+	disconnect(namedGradientStroke, SIGNAL(currentTextChanged(const QString &)), this, SLOT(setNamedGradientStroke(const QString &)));
 	disconnect(overPrintCombo     , SIGNAL(activated(int)), this, SIGNAL(NewOverprint(int)));
 	disconnect(patternBox         , SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(selectPattern(QListWidgetItem*)));
 	disconnect(patternBoxStroke   , SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(selectPatternS(QListWidgetItem*)));




More information about the scribus-commit mailing list