Changeset View
Changeset View
Standalone View
Standalone View
audio/cantata/files/patch-devices_cddbinterface.cpp
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- devices/cddbinterface.cpp.orig 2017-07-30 19:13:05 UTC | |||||
+++ devices/cddbinterface.cpp | |||||
@@ -158,7 +158,7 @@ void CddbInterface::readDisc() | |||||
cddb_track_t *track = cddb_track_new(); | |||||
if (track) { | |||||
cddb_track_set_frame_offset(track, te.entry.addr.lba + SECONDS_TO_FRAMES(2)); | |||||
- cddb_track_set_title(track, te.entry.control&0x04 ? dataTrack().toUtf8().constData() : tr("Track %1", i).toUtf8().constData()); | |||||
+ cddb_track_set_title(track, te.entry.control&0x04 ? dataTrack().toUtf8().constData() : tr("Track %1").arg(i).toUtf8().constData()); | |||||
rakuco: What exactly is this fixing? To me it looks like adding `at(i)` there will get you a single… | |||||
tcbernerAuthorUnsubmitted Not Done Inline Actions.arg(), not .at() tcberner: .arg(), not .at() | |||||
rakucoUnsubmitted Not Done Inline ActionsDuh :D rakuco: Duh :D | |||||
cddb_track_set_artist(track, unknown.constData()); | |||||
cddb_disc_add_track(disc, track); | |||||
} |
What exactly is this fixing? To me it looks like adding at(i) there will get you a single character from the translated string.