Skip to content

Commit

Permalink
Merge branch 'master' into Narry's_Mod
Browse files Browse the repository at this point in the history
# Conflicts:
#	Source/Core/DolphinQt/RenderWidget.cpp
  • Loading branch information
NarryG committed Sep 22, 2018
2 parents 15d60d2 + 1bb8df8 commit 1d33f67
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Source/Core/DolphinQt/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1243,11 +1243,7 @@ void MainWindow::dropEvent(QDropEvent* event)
return;
}

if (file_info.isFile())
{
StartGame(path);
}
else
if (!file_info.isFile())
{
auto& settings = Settings::Instance();

Expand All @@ -1261,6 +1257,10 @@ void MainWindow::dropEvent(QDropEvent* event)
}
settings.AddPath(path);
}
else
{
StartGame(path);
}
}

QSize MainWindow::sizeHint() const
Expand Down
6 changes: 4 additions & 2 deletions Source/Core/DolphinQt/RenderWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,12 @@ void RenderWidget::dropEvent(QDropEvent* event)
return;
}

if (file_info.isFile())
if (!file_info.isFile())
{
State::LoadAs(path.toStdString());
return;
}

State::LoadAs(path.toStdString());
}

void RenderWidget::OnHideCursorChanged()
Expand Down

0 comments on commit 1d33f67

Please sign in to comment.