diff options
author | Weblate <noreply@weblate.org> | 2016-12-19 17:15:44 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2016-12-19 17:15:44 +0000 |
commit | 7eb3d4a5657539657b3dedead96fe03ba70b2ba6 (patch) | |
tree | e4853376f5c5306ca5867f2b9311ec12d551baeb /src-qt5/desktop-utils/lumina-calculator | |
parent | Translated using Weblate (lumina_SEARCH@ca (generated)) (diff) | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-7eb3d4a5657539657b3dedead96fe03ba70b2ba6.tar.gz lumina-7eb3d4a5657539657b3dedead96fe03ba70b2ba6.tar.bz2 lumina-7eb3d4a5657539657b3dedead96fe03ba70b2ba6.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator')
-rw-r--r-- | src-qt5/desktop-utils/lumina-calculator/mainUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-calculator/mainUI.cpp b/src-qt5/desktop-utils/lumina-calculator/mainUI.cpp index 057e4ddd..6ba7450b 100644 --- a/src-qt5/desktop-utils/lumina-calculator/mainUI.cpp +++ b/src-qt5/desktop-utils/lumina-calculator/mainUI.cpp @@ -121,7 +121,7 @@ void mainUI::start_calc(){ double result = strToNumber(eq); if(result!=result){ return; } //bad calculation - NaN's values are special in that they don't equal itself QString res = "[#%1] %2 \t= [ %3 ]"; - ui->list_results->addItem(res.arg(QString::number(ui->list_results->count()+1), QString::number(result, 'G'), ui->line_eq->text())); + ui->list_results->addItem(res.arg(QString::number(ui->list_results->count()+1), QString::number(result, 'G', 7), ui->line_eq->text())); ui->list_results->scrollToItem( ui->list_results->item( ui->list_results->count()-1) ); ui->line_eq->clear(); } |