Improved performance by using QStringLiteral everywhere
This commit is contained in:
1 parent
775385f3e8
commit
aa6e9df436
9 files changed
+66
-66
No files matched your search
+2
-2
@@ -293,7 +293,7 @@ void MainWindow::contextMenuBooking(const QPoint &pos)
|
||||
else if(selectedAction == deleteAction)
|
||||
{
|
||||
QMessageBox msgBox;
|
||||
msgBox.setText("Do you really want to delete the booking?");
|
||||
msgBox.setText(tr("Do you really want to delete the booking?"));
|
||||
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel);
|
||||
msgBox.setDefaultButton(QMessageBox::Cancel);
|
||||
if(msgBox.exec() == QMessageBox::Yes)
|
||||
@@ -413,7 +413,7 @@ void MainWindow::contextMenuTimeAssignment(const QPoint &pos)
|
||||
else if(selectedAction == deleteAction)
|
||||
{
|
||||
QMessageBox msgBox;
|
||||
msgBox.setText("Do you really want to delete the time assignment?");
|
||||
msgBox.setText(tr("Do you really want to delete the time assignment?"));
|
||||
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel);
|
||||
msgBox.setDefaultButton(QMessageBox::Cancel);
|
||||
if(msgBox.exec() == QMessageBox::Yes)
|
||||
|
||||
Reference in new issue
Block a user