Diffstat (limited to 'noncore/apps/oxygen/calcdlgui.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/calcdlgui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/oxygen/calcdlgui.cpp b/noncore/apps/oxygen/calcdlgui.cpp index ca3a9f2..f8dfde5 100644 --- a/noncore/apps/oxygen/calcdlgui.cpp +++ b/noncore/apps/oxygen/calcdlgui.cpp @@ -44,9 +44,9 @@ void calcDlgUI::calc() mw.setNum( weight ); ea = kmolcalc->getEmpFormula() + " :\n" + kmolcalc->getEA(); } else { mw = "???"; - ea = tr( "ERROR: \n" ) + errors + "\n"; + ea = tr( "ERROR: \n" ).arg( errors )+ "\n"; } result->setText( mw ); anal_display->setText( ea ); } |