mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-07-11 01:24:01 +02:00
RMG: ensure rom count is not 0 in RomBrowserLoadingWidget.cpp
This commit is contained in:
@@ -120,7 +120,8 @@ void RomBrowserLoadingWidget::updateLoadingText()
|
||||
QString loadingText = "Loading";
|
||||
|
||||
if (this->elapsedTimeSinceLoading.isValid() &&
|
||||
this->elapsedTimeSinceLoading.elapsed() >= 5000)
|
||||
this->elapsedTimeSinceLoading.elapsed() >= 5000 &&
|
||||
this->romCount > 0)
|
||||
{
|
||||
QString romCountString = QString::number(this->romCount);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user