Changeset 361 for trunk/src/corelib/io


Ignore:
Timestamp:
Nov 30, 2009, 12:41:10 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib/io: QLatin1String.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/io/qfsfileengine_os2.cpp

    r355 r361  
    712712        // On OS/2, the absolute path always contains a "X:/" at the begining
    713713        // where X is the drive letter, or "//" if it's a network share
    714         if (!ret.startsWith("//")) {
     714        if (!ret.startsWith()) {
    715715            Q_ASSERT(ret.length() >= 2);
    716716            Q_ASSERT(ret.at(0).isLetter());
     
    729729        if (file == AbsolutePathName) {
    730730            int slash = ret.lastIndexOf(QLatin1Char('/'));
    731             if (!ret.startsWith("//")) {
     731            if (!ret.startsWith()) {
    732732                Q_ASSERT(slash >= 2);
    733733                if (slash == 2)
     
    751751        if (!ret.isEmpty() && file == CanonicalPathName) {
    752752            int slash = ret.lastIndexOf(QLatin1Char('/'));
    753             if (!ret.startsWith("//")) {
     753            if (!ret.startsWith()) {
    754754                Q_ASSERT(slash >= 2);
    755755                if (slash == 2)
     
    818818                // On OS/2, the absolute path always contains a "X:/" at the begining
    819819                // where X is the drive letter, or "//" if it's a network share
    820                 if (!ret.startsWith("//")) {
     820                if (!ret.startsWith()) {
    821821                    Q_ASSERT(ret.length() >= 2);
    822822                    Q_ASSERT(ret.at(0).isLetter());
Note: See TracChangeset for help on using the changeset viewer.