summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/RenderWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt/RenderWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/RenderWidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/RenderWidget.cpp b/Source/Core/DolphinQt/RenderWidget.cpp
index ac07dfcf27..5518aa41fc 100644
--- a/Source/Core/DolphinQt/RenderWidget.cpp
+++ b/Source/Core/DolphinQt/RenderWidget.cpp
@@ -22,6 +22,7 @@
#include "Core/Config/MainSettings.h"
#include "Core/Core.h"
#include "Core/State.h"
+#include "Core/System.h"
#include "DolphinQt/Host.h"
#include "DolphinQt/QtUtils/ModalMessageBox.h"
@@ -129,7 +130,7 @@ void RenderWidget::dropEvent(QDropEvent* event)
return;
}
- State::LoadAs(path.toStdString());
+ State::LoadAs(Core::System::GetInstance(), path.toStdString());
}
void RenderWidget::OnHideCursorChanged()