mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 10:33:52 +02:00
Fix OSX warning
This commit is contained in:
parent
62f91b4af6
commit
b592205f7e
1 changed files with 1 additions and 1 deletions
|
@ -5856,7 +5856,7 @@ void Application::addAssetToWorldFromURL(QString url) {
|
|||
void Application::showDialog(const QString& desktopURL, const QString& tabletURL, const QString& name) const {
|
||||
auto tabletScriptingInterface = DependencyManager::get<TabletScriptingInterface>();
|
||||
auto tablet = dynamic_cast<TabletProxy*>(tabletScriptingInterface->getTablet("com.highfidelity.interface.tablet.system"));
|
||||
if (tablet->getToolbarMode() || !tablet->getTabletRoot() && !isHMDMode()) {
|
||||
if (tablet->getToolbarMode() || (!tablet->getTabletRoot() && !isHMDMode())) {
|
||||
DependencyManager::get<OffscreenUi>()->show(desktopURL, name);
|
||||
} else {
|
||||
tablet->loadQMLSource(tabletURL);
|
||||
|
|
Loading…
Reference in a new issue