diff options
author | Robert Loehning <robert.loehning@qt.io> | 2020-07-22 22:01:05 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2020-07-23 15:48:13 +0000 |
commit | 7ce989a3069f65646da9ce2bc98d6791d960f468 (patch) | |
tree | 86938a34ca120d00b9ba65342b7a53b189ca156f | |
parent | 5c0b3196efaf532c874a41458bd07a0fb21ede70 (diff) |
VcsManager: Tell user which file is going to be deletedv4.13.0-beta2
Change-Id: I72a853cf65d0bd697379c1738657f098243b814d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | src/plugins/coreplugin/vcsmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/vcsmanager.cpp b/src/plugins/coreplugin/vcsmanager.cpp index db06547cba..23c1bc792b 100644 --- a/src/plugins/coreplugin/vcsmanager.cpp +++ b/src/plugins/coreplugin/vcsmanager.cpp @@ -348,8 +348,8 @@ bool VcsManager::promptToDelete(IVersionControl *vc, const QString &fileName) if (!vc->supportsOperation(IVersionControl::DeleteOperation)) return true; const QString title = tr("Version Control"); - const QString msg = tr("Would you like to remove this file from the version control system (%1)?\n" - "Note: This might remove the local file.").arg(vc->displayName()); + const QString msg = tr("Would you like to remove\n\t%1\nfrom the version control system (%2)?\n" + "Note: This might remove the local file.").arg(fileName, vc->displayName()); const QMessageBox::StandardButton button = QMessageBox::question(ICore::dialogParent(), title, msg, QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes); if (button != QMessageBox::Yes) |