[poppler] qt5/tests

Albert Astals Cid aacid at kemper.freedesktop.org
Wed Sep 13 21:20:15 UTC 2017


 qt5/tests/test-render-to-file.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 500ce88a3b5b0bd556ac6941ba66a86cae44663a
Author: Oliver Sander <oliver.sander at tu-dresden.de>
Date:   Wed Sep 13 12:12:29 2017 +0200

    Fix two minor typos

diff --git a/qt5/tests/test-render-to-file.cpp b/qt5/tests/test-render-to-file.cpp
index 5f86da42..20398ddb 100644
--- a/qt5/tests/test-render-to-file.cpp
+++ b/qt5/tests/test-render-to-file.cpp
@@ -14,7 +14,7 @@ int main( int argc, char **argv )
         argc > 3)
     {
         // use argument as file name
-        qWarning() << "usage: test-poppler-qt4 filename [-arthur]";
+        qWarning() << "usage: test-render-to-file-qt5 filename [-arthur]";
         exit(1);
     }
   
@@ -60,7 +60,7 @@ int main( int argc, char **argv )
             QTime t = QTime::currentTime();
             QImage image = page->renderToImage();
             qDebug() << "Rendering took" << t.msecsTo(QTime::currentTime()) << "msecs";
-            image.save(QString("test-rennder-to-file%1.ppm").arg(i));
+            image.save(QString("test-render-to-file%1.ppm").arg(i));
             delete page;
         }
     }


More information about the poppler mailing list