aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2020-12-31 12:33:49 +1100
committerFelix Queißner <felix@ib-queissner.de>2020-12-31 10:13:49 +0100
commitdd8ebd62c544c3af16da80bda80b998108d9d09a (patch)
treed3353c843ff68cbe60d5c8635532d4d48bec4f74 /src/browsertab.cpp
parent775b20cbe634928eebbfe8947bfa4093df30e6ef (diff)
downloadkristall-dd8ebd62c544c3af16da80bda80b998108d9d09a.tar.gz
Fixes a few warnings and deprecation notices
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp2
1 files changed, 1 insertions, 1 deletions
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;