fix: remove TODOs

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-07-10 18:10:41 +02:00
parent d77237ca5d
commit eb33a87ff5
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -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())