Qt5: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations]
This commit is contained in:
@@ -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());
|
||||
* }
|
||||
|
||||
Reference in New Issue
Block a user