diff --git a/include/FileBrowser.h b/include/FileBrowser.h index d9847cf91..a73a00801 100644 --- a/include/FileBrowser.h +++ b/include/FileBrowser.h @@ -201,7 +201,7 @@ public: QString fullName() const { - return QDir::cleanPath(m_path) + "/" + text(0); + return QFileInfo(m_path, text(0)).absoluteFilePath(); } inline FileTypes type( void ) const