Changeset 846 for trunk/src/corelib/io/qsettings_win.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/corelib/io/qsettings_win.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 536 536 } 537 537 538 539 540 541 542 543 544 545 546 538 547 default: 539 548 qWarning("QSettings: Unknown data %d type in Windows registry", static_cast<int>(dataType)); … … 684 693 } 685 694 686 case QVariant::Int: { 695 case QVariant::Int: 696 case QVariant::UInt: { 687 697 type = REG_DWORD; 688 int i = value.toInt(); 689 regValueBuff = QByteArray((const char*)&i, sizeof(int)); 698 qint32 i = value.toInt(); 699 regValueBuff = QByteArray((const char*)&i, sizeof(qint32)); 700 break; 701 } 702 703 case QVariant::LongLong: 704 case QVariant::ULongLong: { 705 type = REG_QWORD; 706 qint64 i = value.toLongLong(); 707 regValueBuff = QByteArray((const char*)&i, sizeof(qint64)); 690 708 break; 691 709 }
Note:
See TracChangeset
for help on using the changeset viewer.