aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpyside/qobjectconnect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/libpyside/qobjectconnect.cpp')
-rw-r--r--sources/pyside6/libpyside/qobjectconnect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/libpyside/qobjectconnect.cpp b/sources/pyside6/libpyside/qobjectconnect.cpp
index 15b71766c..ebd9c8339 100644
--- a/sources/pyside6/libpyside/qobjectconnect.cpp
+++ b/sources/pyside6/libpyside/qobjectconnect.cpp
@@ -129,7 +129,7 @@ static GetReceiverResult getReceiver(QObject *source, const char *signal,
if (!result.usingGlobalReceiver && result.receiver && result.self) {
result.callbackSig =
PySide::Signal::getCallbackSignature(signal, result.receiver, callback,
- result.usingGlobalReceiver).toLatin1();
+ result.usingGlobalReceiver);
const QMetaObject *metaObject = result.receiver->metaObject();
result.slotIndex = metaObject->indexOfSlot(result.callbackSig.constData());
if (PyMethod_Check(callback) != 0 && result.slotIndex != -1
@@ -155,7 +155,7 @@ static GetReceiverResult getReceiver(QObject *source, const char *signal,
result.receiver->moveToThread(receiverThread);
result.callbackSig =
PySide::Signal::getCallbackSignature(signal, result.receiver, callback,
- result.usingGlobalReceiver).toLatin1();
+ result.usingGlobalReceiver);
const QMetaObject *metaObject = result.receiver->metaObject();
result.slotIndex = metaObject->indexOfSlot(result.callbackSig.constData());
}