Use string instead of char.
This commit is contained in:
parent
ed5e5ef5fd
commit
b3b6843b2e
|
@ -110,9 +110,9 @@ void VAbstractConverter::ReserveFile() const
|
||||||
QString error;
|
QString error;
|
||||||
QFileInfo const info(m_convertedFileName);
|
QFileInfo const info(m_convertedFileName);
|
||||||
#if defined(Q_OS_UNIX) || defined(Q_OS_MACOS)
|
#if defined(Q_OS_UNIX) || defined(Q_OS_MACOS)
|
||||||
const QChar hidden = QChar('.');
|
const QString hidden = QChar('.');
|
||||||
#else
|
#else
|
||||||
const QChar hidden;
|
const QString hidden;
|
||||||
#endif
|
#endif
|
||||||
const QString reserveFileName = u"%1/%2%3(v%4).%5.bak"_s.arg(
|
const QString reserveFileName = u"%1/%2%3(v%4).%5.bak"_s.arg(
|
||||||
info.absoluteDir().absolutePath(), hidden, info.baseName(), GetFormatVersionStr(), info.completeSuffix());
|
info.absoluteDir().absolutePath(), hidden, info.baseName(), GetFormatVersionStr(), info.completeSuffix());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user