forked from qt-creator/qt-creator
Code polishing, continuing cb23999fbf
Add more error messages to processes run for toolchain detection. Move Windows-specific code to dbgwinutils, remove inclusion of <windows.h>. Fix MinGW gcc 4.5 warnings.
This commit is contained in:
@@ -452,8 +452,7 @@ void MaemoDeployStep::setupMount()
|
||||
} else {
|
||||
#ifdef Q_OS_WIN
|
||||
bool drivesToMount[26];
|
||||
for (int i = 0; i < sizeof drivesToMount / sizeof drivesToMount[0]; ++i)
|
||||
drivesToMount[i] = false;
|
||||
qFill(drivesToMount, drivesToMount + sizeof drivesToMount / sizeof drivesToMount[0], false);
|
||||
for (int i = 0; i < m_filesToCopy.count(); ++i) {
|
||||
const QString localDir
|
||||
= QFileInfo(m_filesToCopy.at(i).localFilePath).canonicalPath();
|
||||
|
||||
Reference in New Issue
Block a user