Use the correct QUrl constructor to open a local file.
This commit is contained in:
@@ -629,6 +629,7 @@ void CmaEvent::vitaEventSendHttpObjectFromURL(vita_event_t *cma_event, int event
|
|||||||
QString customVersion = settings.value("customversion", "00.000.000").toString();
|
QString customVersion = settings.value("customversion", "00.000.000").toString();
|
||||||
|
|
||||||
// verify that the update file is really the 3.60 pup
|
// verify that the update file is really the 3.60 pup
|
||||||
|
// to prevent people updating to the wrong version and lose henkaku.
|
||||||
if(ignorexml && basename == "PSP2UPDAT.PUP" &&
|
if(ignorexml && basename == "PSP2UPDAT.PUP" &&
|
||||||
(versiontype == "henkaku" ||
|
(versiontype == "henkaku" ||
|
||||||
(versiontype == "custom" &&
|
(versiontype == "custom" &&
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ BackupItem::~BackupItem()
|
|||||||
|
|
||||||
void BackupItem::openDirectory()
|
void BackupItem::openDirectory()
|
||||||
{
|
{
|
||||||
QDesktopServices::openUrl(QUrl("file://" + m_path));
|
QDesktopServices::openUrl(QUrl::fromLocalFile(m_path));
|
||||||
}
|
}
|
||||||
|
|
||||||
void BackupItem::removeEntry()
|
void BackupItem::removeEntry()
|
||||||
|
|||||||
Reference in New Issue
Block a user