VirtualBox

Ignore:
Timestamp:
Feb 3, 2009 2:05:38 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42390
Message:

FE/Qt4: 3353: Clicking once starts VM: a hack made to prevent this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r16174 r16490  
    489489    mVMListView->setModel (mVMModel);
    490490
     491    /* Make non-possible to activate list elements by single click,
     492     * this hack should disable the current possibility to do it if present */
     493    if (mVMListView->style()->styleHint (QStyle::SH_ItemView_ActivateItemOnSingleClick, 0, mVMListView))
     494        mVMListView->setStyleSheet ("activate-on-singleclick");
     495
    491496    leftVLayout->addWidget (mVMListView);
    492497
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette