forked from qt-creator/qt-creator
Replace QLatin1String("x") with QLatin1Char('x') where possible
Change-Id: I2f90c8ae7b5e968b9de882833f8661ab540a9232 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -62,7 +62,7 @@ QString TestDataDir::directory(const QString &subdir, bool clean) const
|
||||
{
|
||||
QString path = m_directory;
|
||||
if (!subdir.isEmpty())
|
||||
path += QLatin1String("/") + subdir;
|
||||
path += QLatin1Char('/') + subdir;
|
||||
if (clean)
|
||||
path = QDir::cleanPath(path);
|
||||
maybeAppendSlash(&path);
|
||||
|
||||
Reference in New Issue
Block a user