From 24757060a89ca914036bc83c597136fae9732b20 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 29 Sep 2018 19:44:08 +0200 Subject: Fix implicit conversion in RandomTab --- randomtab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'randomtab.cpp') diff --git a/randomtab.cpp b/randomtab.cpp index 9f63ad6..93113b7 100644 --- a/randomtab.cpp +++ b/randomtab.cpp @@ -378,7 +378,7 @@ void RandomTab::select(){ fData[0]->setIcon(QIcon(":/huge_bra.png")); fData[1]->setTextAlignment(Qt::AlignRight | Qt::AlignVCenter); qint64 dbSize = randomFilesQ.value(1).toLongLong(); - float mbSize = dbSize / 1024.0 / 1024.0; + double mbSize = dbSize / 1024.0 / 1024.0; QString sizeStr = QString("%1").arg(mbSize, 0, 'f', 2); fData[1]->setText(sizeStr); fData[1]->setData(dbSize, SizeRole); -- cgit v1.2.3-70-g09d2