From 955bf2dfa928f08e441518eaf88eaf4ce0bff56b Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Fri, 22 Dec 2023 03:43:27 +0400 Subject: [PATCH] Normalize signal connections --- ui/widgets/fields/masked_input_field.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/widgets/fields/masked_input_field.cpp b/ui/widgets/fields/masked_input_field.cpp index 4e1b8da..2a9112d 100644 --- a/ui/widgets/fields/masked_input_field.cpp +++ b/ui/widgets/fields/masked_input_field.cpp @@ -82,10 +82,10 @@ MaskedInputField::MaskedInputField( setAttribute(Qt::WA_OpaquePaintEvent); - connect(this, SIGNAL(textChanged(const QString&)), this, SLOT(onTextChange(const QString&))); + connect(this, SIGNAL(textChanged(QString)), this, SLOT(onTextChange(QString))); connect(this, SIGNAL(cursorPositionChanged(int,int)), this, SLOT(onCursorPositionChanged(int,int))); - connect(this, SIGNAL(textEdited(const QString&)), this, SLOT(onTextEdited())); + connect(this, SIGNAL(textEdited(QString)), this, SLOT(onTextEdited())); connect(this, &MaskedInputField::selectionChanged, [] { Integration::Instance().textActionsUpdated(); });