Changeset 56502 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 18, 2015 11:23:00 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 101121
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDMIMEData.cpp
r56500 r56502 21 21 22 22 /* Qt includes: */ 23 # include <QApplication>24 23 # include <QFileInfo> 25 # include <QKeyEvent>26 24 # include <QMimeData> 27 25 # include <QStringList> 28 # include <QTimer>29 26 # include <QUrl> 30 27 31 28 /* GUI includes: */ 32 29 # include "UIDnDMIMEData.h" 33 # include "UIMessageCenter.h"34 30 35 31 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ … … 45 41 , m_lstFormats(lstFormats) 46 42 , m_defAction(defAction) 47 , m_curAction(Qt:: DropAction::IgnoreAction)43 , m_curAction(Qt::IgnoreAction) 48 44 , m_actions(actions) 49 45 , m_enmState(Dragging) … … 66 62 bool UIDnDMIMEData::hasFormat(const QString &strMIMEType) const 67 63 { 68 bool fRc = (m_curAction != Qt:: DropAction::IgnoreAction);64 bool fRc = (m_curAction != Qt::IgnoreAction); 69 65 LogFlowFunc(("%s: %RTbool (QtMimeData: %RTbool, curAction=0x%x)\n", 70 66 strMIMEType.toStdString().c_str(), fRc, QMimeData::hasFormat(strMIMEType), m_curAction)); … … 97 93 * (see UIDnDMimeData::eventFilter). This filter will update the current 98 94 * operation state for us (based on the mouse buttons). */ 99 if (m_curAction == Qt:: DropAction::IgnoreAction)95 if (m_curAction == Qt::IgnoreAction) 100 96 { 101 97 LogFlowFunc(("Current drop action is 0x%x, so can't drop yet\n", m_curAction));
Note:
See TracChangeset
for help on using the changeset viewer.