Use the correct QUrl constructor to open a local file.
This commit is contained in:
@@ -54,7 +54,7 @@ BackupItem::~BackupItem()
|
||||
|
||||
void BackupItem::openDirectory()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("file://" + m_path));
|
||||
QDesktopServices::openUrl(QUrl::fromLocalFile(m_path));
|
||||
}
|
||||
|
||||
void BackupItem::removeEntry()
|
||||
|
Reference in New Issue
Block a user