Changeset 9392 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Jun 4, 2008 3:04:10 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/QILabel_p.h
r9391 r9392 131 131 static QRegExp mElideRegExp; 132 132 QSize mOwnSizeHint; 133 bool mStartDrag ing;133 bool mStartDragging; 134 134 }; 135 135 -
trunk/src/VBox/Frontends/VirtualBox4/src/QILabel.cpp
r9391 r9392 288 288 geometry().contains (aEvent->pos()) && 289 289 mFullSizeSeclection) 290 mStartDrag ing = true;290 mStartDragging = true; 291 291 else 292 292 QLabel::mousePressEvent (aEvent); … … 295 295 void QILabelPrivate::mouseReleaseEvent (QMouseEvent *aEvent) 296 296 { 297 mStartDrag ing = false;297 mStartDragging = false; 298 298 QLabel::mouseReleaseEvent (aEvent); 299 299 } … … 301 301 void QILabelPrivate::mouseMoveEvent (QMouseEvent *aEvent) 302 302 { 303 if (mStartDrag ing)304 { 305 mStartDrag ing = false;303 if (mStartDragging) 304 { 305 mStartDragging = false; 306 306 /* Create a drag object out of the given data. */ 307 307 QDrag *drag = new QDrag (this); … … 338 338 void QILabelPrivate::init() 339 339 { 340 mStartDrag ing = false;340 mStartDragging = false; 341 341 setFullSizeSelection (false); 342 342 /* Open links with the QDesktopService */
Note:
See TracChangeset
for help on using the changeset viewer.