16 lines
757 B
Diff
16 lines
757 B
Diff
Index: libk3bdevice/k3bdevice.cpp
|
|
===================================================================
|
|
--- libk3bdevice/k3bdevice.cpp (revision 958425)
|
|
+++ libk3bdevice/k3bdevice.cpp (working copy)
|
|
@@ -1446,7 +1446,9 @@
|
|
if( readTocPmaAtip( &data, dataLen, 5, false, 0 ) ) {
|
|
// we need more than the header and a multiple of 18 bytes to have valid CD-TEXT
|
|
if( dataLen > 4 && dataLen%18 == 4 ) {
|
|
- textData.append( reinterpret_cast<char*>(data), dataLen );
|
|
+ // keep building with Qt 4.4
|
|
+ QByteArray cdtext( reinterpret_cast<char*>(data), dataLen );
|
|
+ textData.append( cdtext );
|
|
if ( success )
|
|
*success = true;
|
|
}
|