Changeset 42543 in vbox for trunk/src/VBox
- Timestamp:
- Aug 2, 2012 2:15:34 PM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserHandlerKeyboard.cpp
r42529 r42543 56 56 case Qt::Key_Up: 57 57 { 58 /* Not during sliding: */ 59 if (model()->isSlidingInProgress()) 60 return false; 61 58 62 /* Determine focus item position: */ 59 63 int iPosition = model()->navigationList().indexOf(model()->focusItem()); … … 111 115 case Qt::Key_Down: 112 116 { 117 /* Not during sliding: */ 118 if (model()->isSlidingInProgress()) 119 return false; 120 113 121 /* Determine focus item position: */ 114 122 int iPosition = model()->navigationList().indexOf(model()->focusItem()); -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp
r42542 r42543 170 170 /* Slide root: */ 171 171 slideRoot(false); 172 } 173 174 bool UIGChooserModel::isSlidingInProgress() const 175 { 176 return m_fSliding; 172 177 } 173 178 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.h
r42542 r42543 91 91 void indentRoot(UIGChooserItem *pNewRootItem); 92 92 void unindentRoot(); 93 bool isSlidingInProgress() const; 93 94 94 95 /* API: Current item stuff: */
Note:
See TracChangeset
for help on using the changeset viewer.