diff options
author | Michele Calgaro <[email protected]> | 2023-12-21 11:50:18 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-21 12:00:19 +0900 |
commit | 55cef714419f6e36e66dc75afc40682ea5c73a35 (patch) | |
tree | 5e72b5e899aa3837c1a7fd60fbe5cc21c0acead3 /kcoloredit/texteditselection.cpp | |
parent | 3849f5c32c10eba032a6738fd47331c0fa6afe1c (diff) | |
download | tdegraphics-55cef714419f6e36e66dc75afc40682ea5c73a35.tar.gz tdegraphics-55cef714419f6e36e66dc75afc40682ea5c73a35.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcoloredit/texteditselection.cpp')
-rw-r--r-- | kcoloredit/texteditselection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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") )); |