From dd8ebd62c544c3af16da80bda80b998108d9d09a Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Thu, 31 Dec 2020 12:33:49 +1100 Subject: Fixes a few warnings and deprecation notices --- src/browsertab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/browsertab.cpp') diff --git a/src/browsertab.cpp b/src/browsertab.cpp index 65fde7f..70478a3 100644 --- a/src/browsertab.cpp +++ b/src/browsertab.cpp @@ -900,7 +900,7 @@ void BrowserTab::on_text_browser_anchorClicked(const QUrl &url, bool open_in_new QInputDialog input { this }; input.setInputMode(QInputDialog::TextInput); input.setLabelText(tr("This style has no embedded name. Please enter a name for the preset:")); - input.setTextValue(this->current_location.fileName().split(".", QString::SkipEmptyParts).first()); + input.setTextValue(this->current_location.fileName().split(".", Qt::SkipEmptyParts).first()); if(input.exec() != QDialog::Accepted) return; -- cgit v1.2.3