Minor QString usage improvements

This commit is contained in:
Lukas W
2018-07-11 20:13:47 +02:00
parent 11c693205e
commit c670d4827a
5 changed files with 12 additions and 16 deletions

View File

@@ -131,11 +131,11 @@ public:
inline QString fullName( QString path = QString() )
{
if( path == QString() )
if( path.isEmpty() )
{
path = m_directories[0];
}
if( path != QString() )
if( ! path.isEmpty() )
{
path += QDir::separator();
}