Ticket #287: capitalize-drive-letter.diff
File capitalize-drive-letter.diff, 658 bytes (added by , 11 years ago) |
---|
-
src/gui/dialogs/qfilesystemmodel.cpp
363 363 else 364 364 absolutePath = QDir(longPath).absolutePath(); 365 365 366 #ifdef Q_OS_OS2 367 absolutePath[0] = absolutePath.at(0).toUpper(); // capital drive letters 368 #endif 369 366 370 QStringList pathElements = absolutePath.split(QLatin1Char('/'), QString::SkipEmptyParts); 367 371 if ((pathElements.isEmpty()) 368 372 #if (!defined(Q_OS_WIN) || defined(Q_OS_WINCE)) && !defined(Q_OS_SYMBIAN) && !defined(Q_OS_OS2)