mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
Fixed text string
Some checks failed
Build ES-DE / Building_RetroDECK-ES-DE (push) Has been cancelled
Some checks failed
Build ES-DE / Building_RetroDECK-ES-DE (push) Has been cancelled
This commit is contained in:
parent
c20f78822c
commit
876b661c95
|
@ -2364,12 +2364,12 @@ void GuiMenu::addVersionInfo()
|
|||
// Attempt to open the version file and read a line into retroDeckVersion;
|
||||
// also check that the line is not empty to ensure valid version information
|
||||
if (versionFile && std::getline(versionFile, retroDeckVersion) && !retroDeckVersion.empty()) {
|
||||
mVersion.setText("RetroDECK" + " " + retroDeckVersion);
|
||||
mVersion.setText("RetroDECK " + retroDeckVersion);
|
||||
LOG(LogInfo) << "RetroDECK version read OK.";
|
||||
} else {
|
||||
LOG(LogInfo) << "Error: Cannot read version from file or file is empty!";
|
||||
retroDeckVersion = "UNKNOWN";
|
||||
mVersion.setText("RetroDECK" + " " + retroDeckVersion);
|
||||
mVersion.setText("RetroDECK " + retroDeckVersion);
|
||||
}
|
||||
|
||||
#else // If RETRODECK is NOT defined, execute this block
|
||||
|
|
Loading…
Reference in a new issue