Changeset 846 for trunk/src/gui/widgets/qworkspace.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/widgets/qworkspace.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 45 45 #include "qbitmap.h" 46 46 #include "qcursor.h" 47 #include "qdatetime.h"48 47 #include "qdesktopwidget.h" 49 48 #include "qevent.h" … … 60 59 #include "qstyle.h" 61 60 #include "qstyleoption.h" 61 #include "qelapsedtimer.h" 62 62 #include "qtooltip.h" 63 63 #include "qdebug.h" … … 451 451 if (d->flags & Qt::WindowSystemMenuHint) { 452 452 d->buttonDown = QStyle::SC_None; 453 static Q Time*t = 0;453 static QElapsedTimer *t = 0; 454 454 static QWorkspaceTitleBar *tc = 0; 455 455 if (!t) 456 t = new Q Time;456 t = new QElapsedTimer; 457 457 if (tc != this || t->elapsed() > QApplication::doubleClickInterval()) { 458 458 emit showOperationMenu(); … … 1840 1840 { 1841 1841 Q_D(QWorkspace); 1842 static Q Time* t = 0;1842 static QElapsedTimer* t = 0; 1843 1843 static QWorkspace* tc = 0; 1844 1844 if (o == d->maxtools) { … … 1848 1848 QMenuBar* b = (QMenuBar*)o->parent(); 1849 1849 if (!t) 1850 t = new Q Time;1850 t = new QElapsedTimer; 1851 1851 if (tc != this || t->elapsed() > QApplication::doubleClickInterval()) { 1852 1852 if (isRightToLeft()) {
Note:
See TracChangeset
for help on using the changeset viewer.