summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MainWindow.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-11-17 13:51:40 -0500
committerLioncash <mathew1800@gmail.com>2014-11-17 13:51:40 -0500
commitf78600ec9e3789756fb779e47435efd76125e13d (patch)
treeb057ff4bbb0a43b328e82d4aca3fc7be67f3b09f /Source/Core/DolphinQt/MainWindow.cpp
parent5fce33f91857e0ae2d551c67fd0971622362783a (diff)
parentb94dbca160d7a7d0308d4e8d4ff7613f9e6238b1 (diff)
Merge pull request #1562 from lioncash/host
Host: Kill off GetRenderWindowSize
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/MainWindow.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp
index 8ad50c2ffa..7fcdfd09b7 100644
--- a/Source/Core/DolphinQt/MainWindow.cpp
+++ b/Source/Core/DolphinQt/MainWindow.cpp
@@ -221,23 +221,6 @@ void DMainWindow::OnCoreStateChanged(Core::EState state)
m_ui->actionOpen->setEnabled(is_not_initialized);
}
-// DRenderWidget
-void DMainWindow::RenderWidgetSize(int& x_pos, int& y_pos, int& w, int& h)
-{
- if (SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain)
- {
- x_pos = x();
- y_pos = y();
- }
- else
- {
- x_pos = m_render_widget->x();
- y_pos = m_render_widget->y();
- }
- w = m_render_widget->width();
- h = m_render_widget->height();
-}
-
bool DMainWindow::RenderWidgetHasFocus()
{
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain)