Changeset 27234 in vbox
- Timestamp:
- Mar 9, 2010 9:53:24 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.cpp
r27215 r27234 59 59 bool UIMachineLogicFullscreen::checkAvailability() 60 60 { 61 /* Temporary get a machine object */61 /* Temporary get a machine object: */ 62 62 const CMachine &machine = uisession()->session().GetMachine(); 63 63 const CConsole &console = uisession()->session().GetConsole(); … … 70 70 71 71 int cGuestScreens = machine.GetMonitorCount(); 72 /* Check that there are enough physical screens are connected */72 /* Check that there are enough physical screens are connected: */ 73 73 if (cHostScreens < cGuestScreens) 74 74 { … … 113 113 * VBoxGlobal::extractKeyFromActionText gets exactly the 114 114 * linked key without the 'Host+' part we are adding it here. */ 115 QString hotKey = QString 116 .arg 117 Assert 115 QString hotKey = QString("Host+%1") 116 .arg(VBoxGlobal::extractKeyFromActionText(actionsPool()->action(UIActionIndex_Toggle_Fullscreen)->text())); 117 Assert(!hotKey.isEmpty()); 118 118 119 119 /* Show the info message. */ … … 148 148 prepareDock(); 149 149 #endif /* Q_WS_MAC */ 150 151 150 152 151 /* Initialization: */ … … 155 154 sltMouseCapabilityChanged(); 156 155 156 /* Retranslate logic part: */ 157 157 retranslateUi(); 158 158 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineLogicNormal.cpp
r27215 r27234 79 79 sltMouseCapabilityChanged(); 80 80 81 /* Retranslate logic part: */ 81 82 retranslateUi(); 82 83 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineLogicSeamless.cpp
r27215 r27234 53 53 bool UIMachineLogicSeamless::checkAvailability() 54 54 { 55 /* Temporary get a machine object */55 /* Temporary get a machine object: */ 56 56 const CMachine &machine = uisession()->session().GetMachine(); 57 57 const CConsole &console = uisession()->session().GetConsole(); … … 64 64 65 65 int cGuestScreens = machine.GetMonitorCount(); 66 /* Check that there are enough physical screens are connected */66 /* Check that there are enough physical screens are connected: */ 67 67 if (cHostScreens < cGuestScreens) 68 68 { … … 106 106 * VBoxGlobal::extractKeyFromActionText gets exactly the 107 107 * linked key without the 'Host+' part we are adding it here. */ 108 QString hotKey = QString 109 .arg 110 Assert 108 QString hotKey = QString("Host+%1") 109 .arg(VBoxGlobal::extractKeyFromActionText(actionsPool()->action(UIActionIndex_Toggle_Seamless)->text())); 110 Assert(!hotKey.isEmpty()); 111 111 112 112 /* Show the info message. */ … … 147 147 sltMouseCapabilityChanged(); 148 148 149 /* Retranslate logic part: */ 149 150 retranslateUi(); 150 151 }
Note:
See TracChangeset
for help on using the changeset viewer.