We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1d6fb7 commit a9cb295Copy full SHA for a9cb295
1 file changed
src/song/QUSongFile.cpp
@@ -767,8 +767,9 @@ bool QUSongFile::save(bool force) {
767
}
768
769
// Upgrade text version if required
770
- if (customTag(AUDIO_TAG) != N_A && setMinimumVersion(QUSongVersion::SupportedVersion::v1_1_0))
771
- logSrv->add(tr("Text file \"%1\" was upgraded to v1.1.0 because it has the #AUDIO tag").arg(this->songFileInfo().fileName()), QU::Information);
+ if (((customTag(AUDIO_TAG) != N_A) || (customTag(INSTRUMENTAL_TAG) != N_A) || (customTag(VOCALS_TAG) != N_A))
+ && setMinimumVersion(QUSongVersion::SupportedVersion::v1_1_0))
772
+ logSrv->add(tr("Text file \"%1\" was upgraded to v1.1.0").arg(this->songFileInfo().fileName()), QU::Information);
773
774
QStringList tags;
775
QSettings settings;
0 commit comments