Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Remove QString::null deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
vitallium authored and ariya committed Jan 10, 2020
1 parent 1141321 commit ec0f1a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public slots:

// Check if User set a file via File Picker
QString chosenFile = m_webPage->filePicker(oldFile);
if (chosenFile == QString::null && m_uploadFiles.count() > 0) {
if (chosenFile.isNull() && m_uploadFiles.count() > 0) {
// Check if instead User set a file via uploadFile API
chosenFile = m_uploadFiles.first();
}
Expand Down Expand Up @@ -785,7 +785,7 @@ QString WebPage::filePicker(const QString& oldFile)
}
}
}
return QString::null;
return QString();
}

bool WebPage::javaScriptConfirm(const QString& msg)
Expand Down

0 comments on commit ec0f1a8

Please sign in to comment.