MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / OpenURL

Function OpenURL

pcsx2-qt/QtUtils.cpp:299–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297 }
298
299 void OpenURL(QWidget* parent, const QUrl& qurl)
300 {
301 if (!QDesktopServices::openUrl(qurl))
302 {
303 QMessageBox::critical(parent, QCoreApplication::translate("FileOperations", "Failed to open URL"),
304 QCoreApplication::translate("FileOperations", "Failed to open URL.\n\nThe URL was: %1").arg(qurl.toString()));
305 }
306 }
307
308 void OpenURL(QWidget* parent, const char* url)
309 {

Calls 3

QUrlClass · 0.85
argMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected