Fixed missing return statement in QPrintSupport
authorKevin Simons <kevin.simons@nokia.com>
Wed, 19 Oct 2011 12:12:28 +0000 (14:12 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 19 Oct 2011 20:27:09 +0000 (22:27 +0200)
Change-Id: I8da63b7d4c5a456b0150b14e089d8f5e69c6a70a
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
src/printsupport/kernel/qprinterinfo_unix.cpp

index c7dbb7c..63b7a2a 100644 (file)
@@ -848,8 +848,8 @@ QList<QPrinter::PaperSize> qt_getCupsPrinterPaperSizes(int cupsPrinterIndex)
         for (int j = 0; j < size->num_choices; ++j)
             result.append(string2PaperSize(size->choices[j].choice));
     }
-    return result;
 #endif
+    return result;
 }
 
 #endif // QT_NO_PRINTER