@@ -386,8 +386,8 bool MainWindow::MainWindowPrivate::checkDataToSave(QWidget *parentWidget) | |||||
386 | if (hasChanges) { |
|
386 | if (hasChanges) { | |
387 | // There are some unsaved changes |
|
387 | // There are some unsaved changes | |
388 | switch (QMessageBox::question( |
|
388 | switch (QMessageBox::question( | |
389 | parentWidget, "Save changes", |
|
389 | parentWidget, tr("Save changes"), | |
390 | tr("The catalogue controller unsaved changes.\nDo you want to save them ?"), |
|
390 | tr("The catalogue controller has unsaved changes.\nDo you want to save them ?"), | |
391 | QMessageBox::SaveAll | QMessageBox::Discard | QMessageBox::Cancel, |
|
391 | QMessageBox::SaveAll | QMessageBox::Discard | QMessageBox::Cancel, | |
392 | QMessageBox::SaveAll)) { |
|
392 | QMessageBox::SaveAll)) { | |
393 | case QMessageBox::SaveAll: |
|
393 | case QMessageBox::SaveAll: |
@@ -268,7 +268,7 CatalogueEventsWidget::CatalogueEventsWidget(QWidget *parent) | |||||
268 | if (!events.isEmpty() && eventProducts.isEmpty()) { |
|
268 | if (!events.isEmpty() && eventProducts.isEmpty()) { | |
269 |
|
269 | |||
270 | if (QMessageBox::warning(this, tr("Remove Event(s)"), |
|
270 | if (QMessageBox::warning(this, tr("Remove Event(s)"), | |
271 |
tr("The selected event(s) will be |
|
271 | tr("The selected event(s) will be permanently removed " | |
272 | "from the repository!\nAre you sure you want to continue?"), |
|
272 | "from the repository!\nAre you sure you want to continue?"), | |
273 | QMessageBox::Yes | QMessageBox::No, QMessageBox::No) |
|
273 | QMessageBox::Yes | QMessageBox::No, QMessageBox::No) | |
274 | == QMessageBox::Yes) { |
|
274 | == QMessageBox::Yes) { |
General Comments 0
You need to be logged in to leave comments.
Login now