diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2018-08-15 15:53:42 +0300 |
---|---|---|
committer | Roman Kuznetsov <r.kuznetsow@gmail.com> | 2018-08-17 13:11:53 +0300 |
commit | 5ab189afac15e9e97aef702e69e0d883bc8532b9 (patch) | |
tree | a6f705150dff1cfa2e63616c8a77f03bafe69ce6 /qt | |
parent | d4673530fedab33c81e0a5453c43001a2b4ac983 (diff) |
Framebuffer and render state refactoring.
Diffstat (limited to 'qt')
-rw-r--r-- | qt/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp index 673fcb3bba..d16da48bc5 100644 --- a/qt/mainwindow.cpp +++ b/qt/mainwindow.cpp @@ -24,7 +24,7 @@ #include "build_style/build_statistics.h" #include "build_style/run_tests.h" -#include "drape/debug_rect_renderer.hpp" +#include "drape_frontend/debug_rect_renderer.hpp" #endif // BUILD_DESIGNER #include <QtGui/QCloseEvent> @@ -387,7 +387,7 @@ void MainWindow::CreateNavigationBar() m_pDrawDebugRectAction->setCheckable(true); m_pDrawDebugRectAction->setChecked(false); m_pDrawDebugRectAction->setToolTip(tr("Debug style")); - dp::DebugRectRenderer::Instance().SetEnabled(false); + df::DebugRectRenderer::Instance()->SetEnabled(false); // Add "Get statistics" button m_pGetStatisticsAction = pToolBar->addAction(QIcon(":/navig64/chart.png"), @@ -691,7 +691,7 @@ void MainWindow::OnRecalculateGeomIndex() void MainWindow::OnDebugStyle() { bool const checked = m_pDrawDebugRectAction->isChecked(); - dp::DebugRectRenderer::Instance().SetEnabled(checked); + df::DebugRectRenderer::Instance()->SetEnabled(checked); m_pDrawWidget->RefreshDrawingRules(); } |