Ignore:
Timestamp:
Jun 26, 2009, 12:53:20 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: QFSFileEngine/os2: Use QLatin1Char/*String since cast from char/char* to QChar/QString is normally disabled.

File:
1 edited

Legend:

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

    r33 r59  
    507507    DosQuerySysInfo(QSV_BOOT_DRIVE, QSV_BOOT_DRIVE, (PVOID)&bootDrive,
    508508                    sizeof(bootDrive));
    509     QString root = QChar((char)(bootDrive + 'A' - 1));
    510     root += ":/";
     509    QString root = QChar((bootDrive + 'A' - 1));
     510    root += ;
    511511    return root;
    512512}
     
    520520            temp = QFile::decodeName(qgetenv("TMPDIR"));
    521521            if (temp.isEmpty())
    522                 temp = rootPath() + "tmp";
     522                temp = rootPath() + ;
    523523        }
    524524    }
Note: See TracChangeset for help on using the changeset viewer.