]> git.cworth.org Git - apitrace/blobdiff - gui/retracer.cpp
image: Move image code into its own module.
[apitrace] / gui / retracer.cpp
index 8a766faccfe682a4f822050b767b6fc38fc92f4c..c6698f75e709c8cb769514ceebe22d74de2f2642 100644 (file)
@@ -3,7 +3,7 @@
 #include "apitracecall.h"
 #include "thumbnail.h"
 
-#include "image.hpp"
+#include "image/image.hpp"
 
 #include "trace_profiler.hpp"
 
@@ -411,6 +411,7 @@ void Retracer::run()
                     unsigned char *scanLine = snapshot.scanLine(y);
                     qint64 readBytes = io.read((char *) scanLine, rowBytes);
                     Q_ASSERT(readBytes == rowBytes);
+                    (void)readBytes;
                 }
 
                 QImage thumb = thumbnail(snapshot);