Qt5: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations]

This commit is contained in:
wmayer
2020-06-08 12:24:55 +02:00
committed by wwmayer
parent ac7da8b39f
commit 7b72dcb062
20 changed files with 40 additions and 40 deletions

View File

@@ -1020,7 +1020,7 @@ void CmdTechDrawSymbol::activated(int iMsg)
// Reading an image
QString filename = Gui::FileDialog::getOpenFileName(Gui::getMainWindow(),
QObject::tr("Choose an SVG file to open"), QString::null,
QObject::tr("Choose an SVG file to open"), QString(),
QString::fromLatin1("%1 (*.svg *.svgz);;%2 (*.*)").
arg(QObject::tr("Scalable Vector Graphic")).
arg(QObject::tr("All Files")));