[tracker] tracker-extract: Don't use unsupported C++ constructors



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]