DolphinQt/Config/ARCodeWidget: Use forward declarations where applicable

Avoids propagating headers into scopes where they're not necessary.

Also uncovered reliance on an indirect inclusion within
CheatsManager.cpp, which is now fixed.
This commit is contained in:
Lioncash committed 2019-07-31 09:48:45 -04:00
1 parent e08a76f9e2
commit a07d19a2fd
3 files changed
+9 -1

No files matched your search

@@ -43,6 +43,8 @@ ARCodeWidget::ARCodeWidget(const UICommon::GameFile& game, bool restart_required
OnSelectionChanged();
}
ARCodeWidget::~ARCodeWidget() = default;
void ARCodeWidget::CreateWidgets()
{
m_warning = new CheatWarningWidget(m_game_id, m_restart_required, this);