diff options
author | Simon Rettberg | 2022-09-29 15:26:52 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-09-29 15:26:52 +0200 |
commit | 4d9d83a9c1e2f13bee0be1305c4b10749bea24ed (patch) | |
tree | 26e8e6619d1124bfe4cbe4ef9df24f18bd9767ad /src/dialog.cpp | |
parent | Add option to force honoring --tab, fuzzy match on selectSession() (diff) | |
download | vmchooser2-4d9d83a9c1e2f13bee0be1305c4b10749bea24ed.tar.gz vmchooser2-4d9d83a9c1e2f13bee0be1305c4b10749bea24ed.tar.xz vmchooser2-4d9d83a9c1e2f13bee0be1305c4b10749bea24ed.zip |
Fix a few compile warnings
Diffstat (limited to 'src/dialog.cpp')
-rw-r--r-- | src/dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp index 8acaa9d..aea2d6e 100644 --- a/src/dialog.cpp +++ b/src/dialog.cpp @@ -193,8 +193,8 @@ void Dialog::on_treeView_doubleClicked(const QModelIndex& index) ::kill(pid_t(scriptPid), SIGTERM); } QMessageBox::critical( - this, trUtf8("vmchooser"), - trUtf8("Vmchooser failed to run the selected session!")); + this, tr("vmchooser"), + tr("Vmchooser failed to run the selected session!")); QApplication::instance()->quit(); } @@ -446,7 +446,7 @@ void Dialog::onCenterTimer() { if (autoQuit_ == 0) { QCoreApplication::instance()->exit(0); } else if (autoQuit_ < 60) { - ui->lblAutoQuit->setText(trUtf8("Auto logout in %1").arg(autoQuit_)); + ui->lblAutoQuit->setText(tr("Auto logout in %1").arg(autoQuit_)); ui->lblAutoQuit->show(); } else if (!ui->lblAutoQuit->isHidden()) { ui->lblAutoQuit->hide(); |