Qt: Re-add IOS version to the game info tab

This was accidentally removed during the Qt migration:
https://github.com/dolphin-emu/dolphin/pull/4734
This commit is contained in:
Léo Lam
2021-02-14 15:33:25 +01:00
parent f9deb68aee
commit 7097a7b3af
2 changed files with 24 additions and 0 deletions

View File

@ -4,12 +4,18 @@
#pragma once
#include <memory>
#include <string>
#include <QWidget>
#include "UICommon/GameFile.h"
namespace DiscIO
{
class Volume;
}
class QComboBox;
class QGroupBox;
class QLineEdit;
@ -21,6 +27,7 @@ class InfoWidget final : public QWidget
Q_OBJECT
public:
explicit InfoWidget(const UICommon::GameFile& game);
~InfoWidget() override;
private:
void ChangeLanguage();
@ -34,6 +41,7 @@ private:
void CreateLanguageSelector();
QWidget* CreateBannerGraphic(const QPixmap& image);
std::unique_ptr<DiscIO::Volume> m_volume;
UICommon::GameFile m_game;
QComboBox* m_language_selector;
QLineEdit* m_name = {};