From f08b2f9257f834380ca73c9fcbeacf5882b2cb36 Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Mon, 8 Aug 2016 15:39:44 -0700 Subject: [PATCH] Remove temporary override to reload QML --- interface/src/Application.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 00a092f8c7..ac024f89c3 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2244,12 +2244,11 @@ void Application::keyPressEvent(QKeyEvent* event) { break; case Qt::Key_X: - if (isMeta) { + if (isShifted && isMeta) { auto offscreenUi = DependencyManager::get(); -// offscreenUi->togglePinned(); - offscreenUi->getRootContext()->engine()->clearComponentCache(); - qDebug() << "Component cache cleared"; -// OffscreenUi::information("Debugging", "Component cache cleared"); + offscreenUi->togglePinned(); + //offscreenUi->getRootContext()->engine()->clearComponentCache(); + //OffscreenUi::information("Debugging", "Component cache cleared"); // placeholder for dialogs being converted to QML. } break;