[tracker] tracker-extract: Don't use unsupported C++ constructors
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: Don't use unsupported C++ constructors
- Date: Thu, 3 Mar 2011 14:27:58 +0000 (UTC)
commit 68293775213e58343d687c079773c393a0214721
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]