mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 11:37:58 +02:00
Remove temporary override to reload QML
This commit is contained in:
parent
61d07cf952
commit
f08b2f9257
1 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue