Remove usage of deprecated Qt API

Removes usage of the following deprecated Qt functions:
- QPixmap::grabWidget
- QString::null
- qFind
- qSort
- qGreater
- qCopy
This commit is contained in:
Lukas W
2018-06-17 14:27:28 +02:00
parent fefec9a8c6
commit 11c693205e
40 changed files with 82 additions and 83 deletions

View File

@@ -1009,12 +1009,12 @@ QString SampleBuffer::openAudioFile() const
{
if( ofd.selectedFiles().isEmpty() )
{
return QString::null;
return QString();
}
return tryToMakeRelative( ofd.selectedFiles()[0] );
}
return QString::null;
return QString();
}