Changeset 64180 in vbox
- Timestamp:
- Oct 7, 2016 1:06:04 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 111164
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp
r64179 r64180 29 29 # include "QIWidgetValidator.h" 30 30 # include "QIStyledItemDelegate.h" 31 # include "QITableView.h" 31 32 # include "UIGlobalSettingsInput.h" 32 33 # include "UIShortcutPool.h" … … 130 131 131 132 /* A table reflecting hot-key combinations: */ 132 class UIHotKeyTable : public Q TableView133 class UIHotKeyTable : public QITableView 133 134 { 134 135 Q_OBJECT; … … 479 480 480 481 UIHotKeyTable::UIHotKeyTable(QWidget *pParent, UIHotKeyTableModel *pModel, const QString &strObjectName) 481 : Q TableView(pParent)482 : QITableView(pParent) 482 483 { 483 484 /* Set object name: */ … … 524 525 connect(model(), SIGNAL(sigShortcutsLoaded()), this, SLOT(sltHandleShortcutsLoaded())); 525 526 526 /* Reinstall delegate: */ 527 delete itemDelegate(); 528 QIStyledItemDelegate *pStyledItemDelegate = new QIStyledItemDelegate(this); 529 setItemDelegate(pStyledItemDelegate); 527 /* Check if we do have proper item delegate: */ 528 QIStyledItemDelegate *pStyledItemDelegate = qobject_cast<QIStyledItemDelegate*>(itemDelegate()); 530 529 AssertPtrReturnVoid(pStyledItemDelegate); 531 530 {
Note:
See TracChangeset
for help on using the changeset viewer.