History

Killing the old preferences dialog

Brad Davis committed 10 years ago

Commit 208d7c31 parent 71ae36f8 files · +17 −3435Browse files

Showing the changes to interface/src/Application.cpp (1 of 8 files). Show all

Unified · Split

interface/src/Application.cpp+1−3
@@ -1841,9 +1841,7 @@ void Application::keyPressEvent(QKeyEvent* event) { · 1840 unmodified lines
1841 1841
1842 case Qt::Key_X:1842 case Qt::Key_X:
1843 if (isShifted && isMeta) {1843 if (isShifted && isMeta) {
1844 auto offscreenUi = DependencyManager::get<OffscreenUi>();1844 // placeholder for dialogs being converted to QML.
1845 offscreenUi->getRootContext()->engine()->clearComponentCache();
1846 offscreenUi->show(QString("hifi/dialogs/PreferencesDialog.qml"), "PreferencesDialog");
1847 }1845 }
1848 break;1846 break;
1849 1847