Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-11-17 12:24:35 +0300
committerOlivier Goffart <ogoffart@woboq.com>2015-11-17 12:24:35 +0300
commit6e4240511354a6cf6cc47155911c2eb669a8fc75 (patch)
tree491c727d8bb35c1901a8c62497969015e54d1f88 /src/gui/sharedialog.cpp
parent11ef07c74a632dee34d8a1124c05ffaa992ecb88 (diff)
ShareDialog: remove the search button (#3737)
Diffstat (limited to 'src/gui/sharedialog.cpp')
-rw-r--r--src/gui/sharedialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp
index 0177e8efe..0d5f3a01a 100644
--- a/src/gui/sharedialog.cpp
+++ b/src/gui/sharedialog.cpp
@@ -46,6 +46,7 @@ ShareDialog::ShareDialog(AccountPtr account, const QString &sharePath, const QSt
QPushButton *closeButton = _ui->buttonBox->button(QDialogButtonBox::Close);
connect(closeButton, SIGNAL(clicked()), this, SLOT(close()));
+ closeButton->setDefault(false); // Because people press enter in the dialog and we don't want to close for that
// Set icon
QFileInfo f_info(_localPath);