diff options
Diffstat (limited to 'tqtinterface/qt4/src/dialogs/tqfontdialog.cpp')
-rw-r--r-- | tqtinterface/qt4/src/dialogs/tqfontdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp b/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp index fbccfa8..5a10f04 100644 --- a/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp +++ b/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp @@ -523,7 +523,7 @@ void TQFontDialog::updateFamilies() d->fdb.tqfamilies(TQFont::UnknownScript); TQStringList::ConstIterator it = l.begin(), end = l.end(); for (; it != end; ++it) { - if (! familyNames.tqcontains(*it)) + if (! familyNames.contains(*it)) familyNames << *it; } } @@ -625,12 +625,12 @@ void TQFontDialog::updateStyles() } } if (!found && first) { - if (cstyle.tqcontains("Italic")) { - cstyle.tqreplace("Italic", "Oblique"); + if (cstyle.contains("Italic")) { + cstyle.replace("Italic", "Oblique"); first = FALSE; goto redo; - } else if (cstyle.tqcontains("Oblique")) { - cstyle.tqreplace("Oblique", "Italic"); + } else if (cstyle.contains("Oblique")) { + cstyle.replace("Oblique", "Italic"); first = FALSE; goto redo; } |