QString::null is deprecated, use QString()
diff --git a/qt5/src/poppler-page.cc b/qt5/src/poppler-page.cc
index 4676dcd..bf1f888 100644
--- a/qt5/src/poppler-page.cc
+++ b/qt5/src/poppler-page.cc
@@ -211,7 +211,7 @@
LinkGoTo * g = (LinkGoTo *) a;
const LinkDestinationData ldd( g->getDest(), g->getNamedDest(), parentDoc, false );
// create link: no ext file, namedDest, object pointer
- popplerLink = new LinkGoto( linkArea, QString::null, LinkDestination( ldd ) );
+ popplerLink = new LinkGoto( linkArea, QString(), LinkDestination( ldd ) );
}
break;
diff --git a/qt5/src/poppler-qt5.h b/qt5/src/poppler-qt5.h
index c03fec1..ebbc456 100644
--- a/qt5/src/poppler-qt5.h
+++ b/qt5/src/poppler-qt5.h
@@ -1,7 +1,7 @@
/* poppler-qt.h: qt interface to poppler
* Copyright (C) 2005, Net Integration Technologies, Inc.
* Copyright (C) 2005, 2007, Brad Hards <bradh@frogmouth.net>
- * Copyright (C) 2005-2015, 2017, 2018, Albert Astals Cid <aacid@kde.org>
+ * Copyright (C) 2005-2015, 2017-2019, Albert Astals Cid <aacid@kde.org>
* Copyright (C) 2005, Stefan Kebekus <stefan.kebekus@math.uni-koeln.de>
* Copyright (C) 2006-2011, Pino Toscano <pino@kde.org>
* Copyright (C) 2009 Shawn Rutledge <shawn.t.rutledge@gmail.com>
@@ -205,7 +205,7 @@
~FontInfo();
/**
- The name of the font. Can be QString::null if the font has no name
+ The name of the font. Can be a null QString if the font has no name
*/
QString name() const;