mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 13:30:33 +02:00
Merge pull request #13646 from sethalves/put-back-old-style-attachment-dialog-master
put back old-style avatar-attachments menu-item
This commit is contained in:
commit
ae83c33621
1 changed files with 7 additions and 0 deletions
|
@ -275,6 +275,13 @@ Menu::Menu() {
|
||||||
QString("hifi/tablet/TabletGraphicsPreferences.qml"), "GraphicsPreferencesDialog");
|
QString("hifi/tablet/TabletGraphicsPreferences.qml"), "GraphicsPreferencesDialog");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Settings > Attachments...
|
||||||
|
action = addActionToQMenuAndActionHash(settingsMenu, MenuOption::Attachments);
|
||||||
|
connect(action, &QAction::triggered, [] {
|
||||||
|
qApp->showDialog(QString("hifi/dialogs/AttachmentsDialog.qml"),
|
||||||
|
QString("hifi/tablet/TabletAttachmentsDialog.qml"), "AttachmentsDialog");
|
||||||
|
});
|
||||||
|
|
||||||
// Settings > Developer Menu
|
// Settings > Developer Menu
|
||||||
addCheckableActionToQMenuAndActionHash(settingsMenu, "Developer Menu", 0, false, this, SLOT(toggleDeveloperMenus()));
|
addCheckableActionToQMenuAndActionHash(settingsMenu, "Developer Menu", 0, false, this, SLOT(toggleDeveloperMenus()));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue