r24980 by craig - Qt6: Fix slot connection for QComboBox

scribus-commit scribus-commit at lists.scribus.net
Wed Mar 2 22:00:46 UTC 2022


Author: craig
Date: Wed Mar  2 22:00:46 2022
New Revision: 24980

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24980
Log:
Qt6: Fix slot connection for QComboBox

Modified:
    trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp

Modified: trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24980&path=/trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp	(original)
+++ trunk/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp	Wed Mar  2 22:00:46 2022
@@ -15,10 +15,10 @@
 #include "undotransaction.h"
 
 HunspellDialog::HunspellDialog(QWidget *parent, ScribusDoc *doc, PageItem *item)
-              : QDialog(parent),
-                m_doc(doc),
-                m_item(item),
-                m_iText(&item->itemText)
+	: QDialog(parent),
+	m_doc(doc),
+	m_item(item),
+	m_iText(&item->itemText)
 {
 	setupUi( this );
 	setModal( true );
@@ -27,13 +27,13 @@
 	connect (ignoreAllPushButton, SIGNAL(clicked()), this, SLOT(ignoreAllWords()));
 	connect (changePushButton, SIGNAL(clicked()), this, SLOT(changeWord()));
 	connect (changeAllPushButton, SIGNAL(clicked()), this, SLOT(changeAllWords()));
-	connect (languagesComboBox, SIGNAL(currentIndexChanged(QString)), this, SLOT(languageComboChanged(QString)));
+	connect (languagesComboBox, SIGNAL(currentTextChanged(QString)), this, SLOT(languageComboChanged(QString)));
 }
 
 HunspellDialog::HunspellDialog(QWidget *parent, ScribusDoc *doc, StoryText * itemText)
-              : QDialog(parent),
-                m_doc(doc),
-                m_iText(itemText)
+	: QDialog(parent),
+	m_doc(doc),
+	m_iText(itemText)
 {
 	setupUi( this );
 	setModal( true );




More information about the scribus-commit mailing list