Changeset 135 for smplayer/trunk/src/prefdrives.cpp
- Timestamp:
- Oct 24, 2012, 8:25:23 PM (13 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 133
- Property svn:mergeinfo changed
-
smplayer/trunk/src/prefdrives.cpp
r124 r135 30 30 31 31 bool isCDDevice(QString drive) { 32 if (QSysInfo::WindowsVersion >= QSysInfo::WV_NT) {33 32 unsigned int r = GetDriveTypeW((LPCWSTR) drive.utf16()); 34 33 qDebug("isCDDevice: '%s' r: %d", drive.toUtf8().data(), r); 35 34 return (r == DRIVE_CDROM); 36 } else {37 //Win9838 return true;39 35 } 40 }41 36 42 37 #endif
Note:
See TracChangeset
for help on using the changeset viewer.