FileBrowser: Fix file paths

Fixes #2412
This commit is contained in:
Lukas W
2015-10-17 13:06:34 +02:00
parent 7316ae966a
commit d6a25f90a9

View File

@@ -199,10 +199,9 @@ public:
const QString & path );
FileItem( const QString & name, const QString & path );
inline QString fullName( void ) const
QString fullName() const
{
return( QDir::cleanPath( m_path ) + QDir::separator() +
text( 0 ) );
return QFileInfo(m_path, text(0)).absoluteFilePath();
}
inline FileTypes type( void ) const