Showing the changes to interface/src/Menu.cpp (1 of 1 file). Show all
Unified · Split
| @@ -159,7 +159,7 @@ Menu::Menu() { · 158 unmodified lines | |||
| 159 | QObject* avatar = avatarManager->getMyAvatar(); | 159 | QObject* avatar = avatarManager->getMyAvatar(); |
| 160 | 160 | ||
| 161 | // Avatar > Attachments... | 161 | // Avatar > Attachments... |
| 162 | action = addActionToQMenuAndActionHash(avatarMenu, MenuOption::Attachments); | 162 | auto action = addActionToQMenuAndActionHash(avatarMenu, MenuOption::Attachments); |
| 163 | connect(action, &QAction::triggered, [] { | 163 | connect(action, &QAction::triggered, [] { |
| 164 | DependencyManager::get<OffscreenUi>()->show(QString("hifi/dialogs/AttachmentsDialog.qml"), "AttachmentsDialog"); | 164 | DependencyManager::get<OffscreenUi>()->show(QString("hifi/dialogs/AttachmentsDialog.qml"), "AttachmentsDialog"); |
| 165 | }); | 165 | }); |