diff options
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/tab_activity_list.cpp | 2 | ||||
-rw-r--r-- | src/widgets/tab_actor_info.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/tab_activity_list.cpp b/src/widgets/tab_activity_list.cpp index dd40de7..bd396c5 100644 --- a/src/widgets/tab_activity_list.cpp +++ b/src/widgets/tab_activity_list.cpp @@ -85,7 +85,7 @@ void TabActivityList::set_search_text(const QString &text) { void TabActivityList::actionOpen_URL_triggered(bool checked) { bool ok; - QString url = QInputDialog::getText(this, tr("Open status from URL"), tr("Status URL:"), QLineEdit::Normal, "https://…", &ok); + QString url = QInputDialog::getText(this, tr("Open status from URL"), tr("Status URL:"), QLineEdit::Normal, QStringLiteral("https://…"), &ok); // TODO: Move all of this to another thread // TODO: Reuse the Instance object diff --git a/src/widgets/tab_actor_info.cpp b/src/widgets/tab_actor_info.cpp index f991366..9d35b29 100644 --- a/src/widgets/tab_actor_info.cpp +++ b/src/widgets/tab_actor_info.cpp @@ -32,7 +32,7 @@ TabActorInfo::~TabActorInfo() { // TODO: do this in another thread, like for status_info void TabActorInfo::update_ui() { if (not actor) { - ui->displayNameText->setText(QString("<html><head/><body><p><span style=\"font-size:14pt; font-weight:600;\">%1</span></p></body></html>").arg(tr("Failed to display Actor"))); + ui->displayNameText->setText(QStringLiteral("<html><head/><body><p><span style=\"font-size:14pt; font-weight:600;\">%1</span></p></body></html>").arg(tr("Failed to display Actor"))); ui->avatarImage->setText(""); return; } |