summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/psymbolcombo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/psymbolcombo.cpp')
-rw-r--r--lib/widgets/propeditor/psymbolcombo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/propeditor/psymbolcombo.cpp b/lib/widgets/propeditor/psymbolcombo.cpp
index 6116ca8c..6000d96a 100644
--- a/lib/widgets/propeditor/psymbolcombo.cpp
+++ b/lib/widgets/propeditor/psymbolcombo.cpp
@@ -58,7 +58,7 @@ PSymbolCombo::PSymbolCombo(MultiProperty *property, TQWidget *parent, const char
TQVariant PSymbolCombo::value() const
{
if (!(m_edit->text().isNull()))
- return TQVariant(TQString("%1").tqarg(m_edit->text().tqat(0).tqunicode()));
+ return TQVariant(TQString("%1").arg(m_edit->text().at(0).tqunicode()));
else
return TQVariant(0);
}
@@ -109,7 +109,7 @@ void PSymbolCombo::selectChar()
void PSymbolCombo::updateProperty(const TQString& val)
{
- emit propertyChanged(m_property, TQVariant(TQString("%1").tqarg(val.tqat(0).tqunicode())));
+ emit propertyChanged(m_property, TQVariant(TQString("%1").arg(val.at(0).tqunicode())));
}
void PSymbolCombo::drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value)