[tracker/tracker-0.10] tracker-extract: Don't use unsupported C++ constructors
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-extract: Don't use unsupported C++ constructors
- Date: Thu, 3 Mar 2011 15:50:43 +0000 (UTC)
commit a1b7bb6a7931bdb7778c3a243898af54cb2ebfe8
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Mar 3 15:26:59 2011 +0100
tracker-extract: Don't use unsupported C++ constructors
Fixes NB#232981.
src/tracker-extract/tracker-albumart-qt.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-albumart-qt.cpp b/src/tracker-extract/tracker-albumart-qt.cpp
index 49ef7f1..e535314 100644
--- a/src/tracker-extract/tracker-albumart-qt.cpp
+++ b/src/tracker-extract/tracker-albumart-qt.cpp
@@ -105,12 +105,12 @@ tracker_albumart_buffer_to_jpeg (const unsigned char *buffer,
qbuffer.open (QIODevice::ReadOnly);
if (buffer_mime != NULL) {
- reader = new QImageReader::QImageReader (&qbuffer, QByteArray (buffer_mime));
+ reader = new QImageReader (&qbuffer, QByteArray (buffer_mime));
} else {
QByteArray format = QImageReader::imageFormat (&qbuffer);
if (!format.isEmpty ()) {
- reader = new QImageReader::QImageReader (&qbuffer, format);
+ reader = new QImageReader (&qbuffer, format);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]