summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor/csseditor_globals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/csseditor/csseditor_globals.cpp')
-rw-r--r--quanta/components/csseditor/csseditor_globals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/components/csseditor/csseditor_globals.cpp b/quanta/components/csseditor/csseditor_globals.cpp
index 3e9e1ca2..bd0eac48 100644
--- a/quanta/components/csseditor/csseditor_globals.cpp
+++ b/quanta/components/csseditor/csseditor_globals.cpp
@@ -34,12 +34,12 @@ void mySpinBox::checkSuffix(const TQString&){// check if the suffix is present a
if(!suffix().isEmpty()){
const TQString suf(suffix());
TQString t(editor()->text());
- if( t.tqcontains(suf) ==0 ) {
+ if( t.contains(suf) ==0 ) {
editor()->setText( t + suf);
editor()->setCursorPosition(editor()->cursorPosition() - 1);
}
else
- if( t.tqcontains(suf) >1 ) {
+ if( t.contains(suf) >1 ) {
editor()->setText( t.remove(suf) + suf);
editor()->setCursorPosition(editor()->cursorPosition() - 1);
}