Permalink
Browse files

Qt/InfoWidget: Don't show apploader date if it's not present

  • Loading branch information...
spycrab committed May 25, 2018
1 parent a19e5b3 commit 97383645e7aeb1c316aa47cd1ea4fa294a42dcc2
Showing with 5 additions and 2 deletions.
  1. +5 −2 Source/Core/DolphinQt2/Config/InfoWidget.cpp
@@ -14,6 +14,7 @@
#include <QPushButton>
#include <QTextEdit>
#include "Core/ConfigManager.h"
#include "DiscIO/Blob.h"
#include "DiscIO/Enums.h"
#include "DolphinQt2/Config/InfoWidget.h"
@@ -54,15 +55,17 @@ QGroupBox* InfoWidget::CreateISODetails()
QLineEdit* country = CreateValueDisplay(DiscIO::GetName(m_game.GetCountry(), true));
QLineEdit* maker = CreateValueDisplay(m_game.GetMaker() + " (0x" + m_game.GetMakerID() + ")");
QLineEdit* apploader_date = CreateValueDisplay(m_game.GetApploaderDate());
QWidget* checksum = CreateChecksumComputer();
layout->addRow(tr("Name:"), internal_name);
layout->addRow(tr("File:"), file_path);
layout->addRow(tr("Game ID:"), game_id);
layout->addRow(tr("Country:"), country);
layout->addRow(tr("Maker:"), maker);
layout->addRow(tr("Apploader Date:"), apploader_date);
if (!m_game.GetApploaderDate().empty())
layout->addRow(tr("Apploader Date:"), CreateValueDisplay(m_game.GetApploaderDate()));
layout->addRow(tr("MD5 Checksum:"), checksum);
group->setLayout(layout);

0 comments on commit 9738364

Please sign in to comment.