aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-calculator
diff options
context:
space:
mode:
authorJT Pennington <jt@obs-sec.com>2016-12-22 12:54:27 -0500
committerGitHub <noreply@github.com>2016-12-22 12:54:27 -0500
commite78fefc9e727a93e33b48e2c5ee1b1a99f480242 (patch)
tree33e6926989ea7c517426feebb89c366200da0fe0 /src-qt5/desktop-utils/lumina-calculator
parentfix pages.pri (diff)
parentFix an issue with ZFS snapshot finding where the directory path of interest n... (diff)
downloadlumina-e78fefc9e727a93e33b48e2c5ee1b1a99f480242.tar.gz
lumina-e78fefc9e727a93e33b48e2c5ee1b1a99f480242.tar.bz2
lumina-e78fefc9e727a93e33b48e2c5ee1b1a99f480242.zip
Merge branch 'master' into master
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator')
-rw-r--r--src-qt5/desktop-utils/lumina-calculator/mainUI.cpp2
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();
}
bgstack15