forked from qt-creator/qt-creator
Debugger: Fix string usages.
- Compile with QT_NO_CAST_FROM_ASCII. - Remove single character string constants. Change-Id: Icece98619b6c30e047d3fce00e6ae74bbcd53c67 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
**
|
||||
**************************************************************************/
|
||||
|
||||
#define QT_NO_CAST_FROM_ASCII
|
||||
|
||||
#include "loadcoredialog.h"
|
||||
|
||||
#include "debuggerconstants.h"
|
||||
@@ -203,7 +205,7 @@ void SelectRemoteFileDialog::selectFile()
|
||||
SLOT(handleSftpOperationFinished(QSsh::SftpJobId,QString)));
|
||||
|
||||
{
|
||||
QTemporaryFile localFile(QDir::tempPath() + "/remotecore-XXXXXX");
|
||||
QTemporaryFile localFile(QDir::tempPath() + QLatin1String("/remotecore-XXXXXX"));
|
||||
localFile.open();
|
||||
m_localFile = localFile.fileName();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user