summaryrefslogtreecommitdiffstats
path: root/khtml/ecma/kjs_navigator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/ecma/kjs_navigator.cpp')
-rw-r--r--khtml/ecma/kjs_navigator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khtml/ecma/kjs_navigator.cpp b/khtml/ecma/kjs_navigator.cpp
index b8712e01b..2d61bb29b 100644
--- a/khtml/ecma/kjs_navigator.cpp
+++ b/khtml/ecma/kjs_navigator.cpp
@@ -255,9 +255,9 @@ Value Navigator::getValueProperty(ExecState *exec, int token) const
struct utsname name;
int ret = uname(&name);
if ( ret >= 0 )
- return String(TQString::tqfromLatin1("%1 %1 X11").arg(name.sysname).arg(name.machine));
+ return String(TQString(TQString::tqfromLatin1("%1 %1 X11").arg(name.sysname).arg(name.machine)));
else // can't happen
- return String(TQString::tqfromLatin1("Unix X11"));
+ return String(TQString(TQString::tqfromLatin1("Unix X11")));
}
case CpuClass:
{