Changeset 8 for trunk/src/kernel/qurl.cpp
- Timestamp:
- Nov 16, 2005, 8:36:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel/qurl.cpp
r7 r8 834 834 d->host.remove( (uint)0, 1 ); 835 835 836 #if defined(Q_OS_WIN32) 836 #if defined(Q_OS_WIN32) || defined(Q_OS_OS2) 837 837 // hack for windows file://machine/path syntax 838 838 if ( d->protocol == "file" ) { … … 1028 1028 d->cleanPath = d->path; 1029 1029 } else if ( isLocalFile() ) { 1030 #if defined(Q_OS_WIN32) 1030 #if defined(Q_OS_WIN32) || defined(Q_OS_OS2) 1031 1031 // hack for stuff like \\machine\path and //machine/path on windows 1032 1032 if ( ( d->path.left( 1 ) == "/" || d->path.left( 1 ) == "\\" ) && … … 1101 1101 { 1102 1102 if ( d->path.isEmpty() || d->path.endsWith( "/" ) 1103 #if def Q_WS_WIN1103 #if defined(Q_WS_WIN) || defined(Q_OS_OS2) 1104 1104 || d->path.endsWith( "\\" ) 1105 1105 #endif
Note:
See TracChangeset
for help on using the changeset viewer.