summaryrefslogtreecommitdiffstats
path: root/tests/testcategories.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testcategories.cc')
-rw-r--r--tests/testcategories.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testcategories.cc b/tests/testcategories.cc
index a29a307..c68be84 100644
--- a/tests/testcategories.cc
+++ b/tests/testcategories.cc
@@ -123,7 +123,7 @@ void categoryNames( const TQString &dir )
DEBUGKPILOT << "# Expect three truncation errors and two bad category numbers." << endl;
for (unsigned int i=0; i<Pilot::CATEGORY_COUNT+2; i++)
{
- TQString name = TQString::tqfromLatin1(funnyname+funnyname_length-i-3);
+ TQString name = TQString::fromLatin1(funnyname+funnyname_length-i-3);
if (!appinfo->setCategoryName(i,name))
{
WARNINGKPILOT << "Failed to set category " << i << " name to <" << name << ">" << endl;