Use string instead of char.

This commit is contained in:
Roman Telezhynskyi 2024-03-26 10:24:27 +02:00
parent ed5e5ef5fd
commit b3b6843b2e

View File

@ -110,9 +110,9 @@ void VAbstractConverter::ReserveFile() const
QString error;
QFileInfo const info(m_convertedFileName);
#if defined(Q_OS_UNIX) || defined(Q_OS_MACOS)
const QChar hidden = QChar('.');
const QString hidden = QChar('.');
#else
const QChar hidden;
const QString hidden;
#endif
const QString reserveFileName = u"%1/%2%3(v%4).%5.bak"_s.arg(
info.absoluteDir().absolutePath(), hidden, info.baseName(), GetFormatVersionStr(), info.completeSuffix());