Use the correct QUrl constructor to open a local file.

This commit is contained in:
codestation
2016-10-23 12:04:53 -04:00
parent 5a9dc39396
commit 7a5065bfe4
2 changed files with 2 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ BackupItem::~BackupItem()
void BackupItem::openDirectory()
{
QDesktopServices::openUrl(QUrl("file://" + m_path));
QDesktopServices::openUrl(QUrl::fromLocalFile(m_path));
}
void BackupItem::removeEntry()