mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 11:53:28 +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;
|
||||
|
||||
case Qt::Key_X:
|
||||
if (isMeta) {
|
||||
if (isShifted && isMeta) {
|
||||
auto offscreenUi = DependencyManager::get<OffscreenUi>();
|
||||
// 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;
|
||||
|
|
Loading…
Reference in a new issue