[Pkg-owncloud-commits] [owncloud-client] 139/484: Delete all files: make the 'Keep' on by default
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit bd39c64798426180cf22055325dafc3deb5d4f45
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Fri Oct 23 17:06:14 2015 +0200
Delete all files: make the 'Keep' on by default
On windows, we need to specify at least one AcceptRole.
Otherwise the DestructiveRole might become the default
Issue #3824
---
src/gui/folder.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp
index fbd6a2a..53509ed 100644
--- a/src/gui/folder.cpp
+++ b/src/gui/folder.cpp
@@ -1142,7 +1142,7 @@ void Folder::slotAboutToRemoveAllFiles(SyncFileItem::Direction, bool *cancel)
QMessageBox msgBox(QMessageBox::Warning, tr("Remove All Files?"),
msg.arg(alias()));
msgBox.addButton(tr("Remove all files"), QMessageBox::DestructiveRole);
- QPushButton* keepBtn = msgBox.addButton(tr("Keep files"), QMessageBox::ActionRole);
+ QPushButton* keepBtn = msgBox.addButton(tr("Keep files"), QMessageBox::AcceptRole);
if (msgBox.exec() == -1) {
*cancel = true;
return;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list