diff options
Diffstat (limited to 'kdeprint/tests/richpage.cpp')
-rw-r--r-- | kdeprint/tests/richpage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/tests/richpage.cpp b/kdeprint/tests/richpage.cpp index 38569c1a3..f12040b71 100644 --- a/kdeprint/tests/richpage.cpp +++ b/kdeprint/tests/richpage.cpp @@ -23,7 +23,7 @@ RichPage::RichPage(TQWidget *parent, const char *name) QFontDatabase db; QStringList fonts = db.families(); fontname_->insertStringList(fonts); - fontname_->setCurrentItem(fonts.tqfindIndex(TQString::tqfromLatin1("times"))); + fontname_->setCurrentItem(fonts.findIndex(TQString::fromLatin1("times"))); if (fontname_->currentItem() < 0) fontname_->setCurrentItem(0); QLabel *l1 = new TQLabel("Margin:",this); |