mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
refs #621, URL from local file path
This commit is contained in:
@@ -147,6 +147,9 @@ namespace BlackMisc
|
||||
//! Default port for given protocol
|
||||
static bool isDefaultPort(const QString &protocol, int port);
|
||||
|
||||
//! From local file path
|
||||
static CUrl fromLocalFile(const QString &localFile);
|
||||
|
||||
//! Convert to QUrl
|
||||
operator QUrl() const { return this->toQUrl(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user