make the text under 'empty My Documents' and 'emty Trash' actions be different

preferencesAboutTextFull
Clément Fauconnier 4 years ago
parent 254d090bae
commit a5bcaf2763
  1. 4
      src/document/UBDocumentController.cpp

@ -3350,11 +3350,11 @@ void UBDocumentController::updateActions()
break; break;
case EmptyFolder : case EmptyFolder :
mMainWindow->actionDelete->setIcon(QIcon(":/images/trash.png")); mMainWindow->actionDelete->setIcon(QIcon(":/images/trash.png"));
mMainWindow->actionDelete->setText(tr("Empty")); mMainWindow->actionDelete->setText(tr("Empty My Documents"));
break; break;
case EmptyTrash : case EmptyTrash :
mMainWindow->actionDelete->setIcon(QIcon(":/images/toolbar/deleteDocument.png")); mMainWindow->actionDelete->setIcon(QIcon(":/images/toolbar/deleteDocument.png"));
mMainWindow->actionDelete->setText(tr("Empty")); mMainWindow->actionDelete->setText(tr("Empty Trash"));
break; break;
} }

Loading…
Cancel
Save