mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-07 11:59:57 +03:00
Change "getMbToPrettyString" to const function
This commit is contained in:
@@ -1451,7 +1451,7 @@ void MainWindow::on_actionSave_Image_triggered()
|
||||
screenshot.save(QFileDialog::getSaveFileName(this, tr("Save Image"), "QDiskInfo_" + deviceNodeLineEdit->text().section('/', -1) + ".png", tr("PNG Files (*.png)")));
|
||||
}
|
||||
|
||||
QString MainWindow::getMbToPrettyString(const int64_t &sizeInMbI64, const int &precisionInt, const bool &useGbBool)
|
||||
QString MainWindow::getMbToPrettyString(const int64_t &sizeInMbI64, const int &precisionInt, const bool &useGbBool) const
|
||||
{
|
||||
if (!sizeInMbI64)
|
||||
return "----";
|
||||
|
||||
Reference in New Issue
Block a user