History

Merge branch 'master' of git://github.com/highfidelity/hifi into 19644

Ryan Huffman committed 12 years ago

Commit 173be2c2 parents f249020 c46453c70 files · +3532 −612Browse files

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

Unified · Split

interface/src/Menu.cpp+10−0
@@ -250,12 +250,21 @@ Menu::Menu() : · 249 unmodified lines
250250
251251 QMenu* viewMenu = addMenu("View");
252252
253+#ifdef Q_OS_MAC
253254 addCheckableActionToQMenuAndActionHash(viewMenu,
254255 MenuOption::Fullscreen,
255256 Qt::CTRL | Qt::META | Qt::Key_F,
256257 false,
257258 appInstance,
258259 SLOT(setFullscreen(bool)));
260+#else
261+ addCheckableActionToQMenuAndActionHash(viewMenu,
262+ MenuOption::Fullscreen,
263+ Qt::CTRL | Qt::Key_F,
264+ false,
265+ appInstance,
266+ SLOT(setFullscreen(bool)));
267+#endif
259268 addCheckableActionToQMenuAndActionHash(viewMenu, MenuOption::FirstPerson, Qt::Key_P, true,
260269 appInstance,SLOT(cameraMenuChanged()));
261270 addCheckableActionToQMenuAndActionHash(viewMenu, MenuOption::Mirror, Qt::SHIFT | Qt::Key_H, true);
@@ -1296,6 +1305,7 @@ void Menu::showChat() { · 1034 unmodified lines
12961305 if (_chatWindow->isHidden()) {
12971306 _chatWindow->show();
12981307 }
1308+ _chatWindow->activateWindow();
12991309 } else {
13001310 Application::getInstance()->getTrayIcon()->showMessage("Interface", "You need to login to be able to chat with others on this domain.");
13011311 }