From 904cb397f13483aa3ed5fb45079120b0eed7b0bb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 21 Dec 2023 11:50:18 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 55cef714419f6e36e66dc75afc40682ea5c73a35) --- kcoloredit/texteditselection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kcoloredit/texteditselection.cpp') diff --git a/kcoloredit/texteditselection.cpp b/kcoloredit/texteditselection.cpp index f1da81a1..ee5cf729 100644 --- a/kcoloredit/texteditselection.cpp +++ b/kcoloredit/texteditselection.cpp @@ -61,7 +61,7 @@ TextEditSelection::~TextEditSelection(){ void TextEditSelection::addComponent(const int index, TQLineEdit* lineEdit, const int maxValue, const TQString& labelString, const int row, const int column, TQGridLayout* layout) { TQLabel* label = new TQLabel(labelString, this); - lineEdit->setValidator(new TQIntValidator( 0, maxValue, TQT_TQOBJECT(lineEdit) )); + lineEdit->setValidator(new TQIntValidator( 0, maxValue, lineEdit )); lineEditTable[index] = lineEdit; lineEdit->setMinimumWidth(lineEdit->fontMetrics().width( TQString("8888") )); lineEdit->setMaximumWidth(lineEdit->fontMetrics().width( TQString("8888888") )); -- cgit v1.2.1