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

@@ -119,7 +119,7 @@ using namespace Gui::DockWnd;
* void activated(int)
* {
* QString filter ... // make a filter of all supported file formats
* QStringList FileList = QFileDialog::getOpenFileNames( filter,QString::null, getMainWindow() );
* QStringList FileList = QFileDialog::getOpenFileNames( filter,QString(), getMainWindow() );
* for ( QStringList::Iterator it = FileList.begin(); it != FileList.end(); ++it ) {
* getGuiApplication()->open((*it).latin1());
* }