mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
libkcddb: fix build
This commit is contained in:
parent
e1c89a39e7
commit
8babe90166
1 changed files with 7 additions and 3 deletions
|
@ -112,10 +112,14 @@ namespace KCDDB
|
||||||
// Uses musicbrainz discid for the first release,
|
// Uses musicbrainz discid for the first release,
|
||||||
// then discid-2, discid-3 and so on, to
|
// then discid-2, discid-3 and so on, to
|
||||||
// allow multiple releases with the same discid
|
// allow multiple releases with the same discid
|
||||||
if (relnr == 1)
|
if (relnr == 1) {
|
||||||
info.set(QLatin1String( "discid" ), discId);
|
info.set(QLatin1String( "discid" ), discId);
|
||||||
else
|
} else {
|
||||||
info.set(QLatin1String( "discid" ), discId+QLatin1String( "-" )+QString::number(relnr));
|
QString adjusted = discId;
|
||||||
|
adjusted.append(QLatin1String( "-" ));
|
||||||
|
adjusted.append(QString::number(relnr));
|
||||||
|
info.set(QLatin1String( "discid" ), adjusted);
|
||||||
|
}
|
||||||
|
|
||||||
QString title = QString::fromUtf8(FullRelease->Title().c_str());
|
QString title = QString::fromUtf8(FullRelease->Title().c_str());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue