Remove temporary override to reload QML

This commit is contained in:
Atlante45 2016-08-08 15:39:44 -07:00
parent 61d07cf952
commit f08b2f9257

View file

@ -2244,12 +2244,11 @@ void Application::keyPressEvent(QKeyEvent* event) {
break; break;
case Qt::Key_X: case Qt::Key_X:
if (isMeta) { if (isShifted && isMeta) {
auto offscreenUi = DependencyManager::get<OffscreenUi>(); auto offscreenUi = DependencyManager::get<OffscreenUi>();
// offscreenUi->togglePinned(); offscreenUi->togglePinned();
offscreenUi->getRootContext()->engine()->clearComponentCache(); //offscreenUi->getRootContext()->engine()->clearComponentCache();
qDebug() << "Component cache cleared"; //OffscreenUi::information("Debugging", "Component cache cleared");
// OffscreenUi::information("Debugging", "Component cache cleared");
// placeholder for dialogs being converted to QML. // placeholder for dialogs being converted to QML.
} }
break; break;