|
|
|
@ -150,7 +150,7 @@ void ActionEvaluateExpression::execute(const KatapultItem* item) const
|
|
|
|
|
|
|
|
|
|
// Copy calculation and result into clipboard (unless there's a parse error).
|
|
|
|
|
if (!_expr->parseError()) {
|
|
|
|
|
TQClipboard *cb = TQApplication::tqclipboard();
|
|
|
|
|
TQClipboard *cb = TQApplication::clipboard();
|
|
|
|
|
TQString s = _expr->catalog()->formatString();
|
|
|
|
|
s.replace("%1", _expr->text());
|
|
|
|
|
s.replace("%2", text());
|
|
|
|
|