fix: remove TODOs
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
d77237ca5d
commit
eb33a87ff5
@ -60,7 +60,7 @@ void SkinUploadDialog::on_buttonBox_accepted()
|
|||||||
QRegularExpression urlPrefixMatcher(QRegularExpression::anchoredPattern("^([a-z]+)://.+$"));
|
QRegularExpression urlPrefixMatcher(QRegularExpression::anchoredPattern("^([a-z]+)://.+$"));
|
||||||
bool isLocalFile = false;
|
bool isLocalFile = false;
|
||||||
// it has an URL prefix -> it is an URL
|
// it has an URL prefix -> it is an URL
|
||||||
if(urlPrefixMatcher.match(input).hasMatch()) // TODO: does this work?
|
if(urlPrefixMatcher.match(input).hasMatch())
|
||||||
{
|
{
|
||||||
QUrl fileURL = input;
|
QUrl fileURL = input;
|
||||||
if(fileURL.isValid())
|
if(fileURL.isValid())
|
||||||
|
Loading…
Reference in New Issue
Block a user