summaryrefslogtreecommitdiffstats
path: root/demos/spreadsheet
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-09-17 12:12:12 (GMT)
committerGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-09-17 12:17:29 (GMT)
commitd8a862b403ea0801088f0be7ba8223743172702f (patch)
treeebc57412700a2a51f624c30a9c9061266be20a41 /demos/spreadsheet
parent53dfbd5708cdf64bfd3139cd4b0afc3aef8e186f (diff)
downloadQt-d8a862b403ea0801088f0be7ba8223743172702f.zip
Qt-d8a862b403ea0801088f0be7ba8223743172702f.tar.gz
Qt-d8a862b403ea0801088f0be7ba8223743172702f.tar.bz2
Wrong string when setting formula through menu in demos/spreadsheet.
Reviewed-by: TrustMe Task-number: 260975 Task-number: QT-4506
Diffstat (limited to 'demos/spreadsheet')
-rw-r--r--demos/spreadsheet/spreadsheet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/spreadsheet/spreadsheet.cpp b/demos/spreadsheet/spreadsheet.cpp
index 0449a91..7f057a2 100644
--- a/demos/spreadsheet/spreadsheet.cpp
+++ b/demos/spreadsheet/spreadsheet.cpp
@@ -420,7 +420,7 @@ void SpreadSheet::actionMath_helper(const QString &title, const QString &op)
&cell1, &cell2, &out)) {
int row, col;
decode_pos(out, &row, &col);
- table->item(row, col)->setText(tr("%1, %2, %3").arg(op, cell1, cell2));
+ table->item(row, col)->setText(tr("%1 %2 %3").arg(op, cell1, cell2));
}
}