[Pkg-owncloud-commits] [owncloud-client] 14/30: Remove a superflous MessageBox. User is asked for Password instead.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Mar 15 21:28:29 UTC 2014
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 2164f5d9b7322788dc55c558114814ee698c16ce
Author: Klaas Freitag <freitag at owncloud.com>
Date: Mon Mar 3 16:36:59 2014 +0100
Remove a superflous MessageBox. User is asked for Password instead.
---
src/mirall/application.cpp | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp
index 2cc0c79..838e546 100644
--- a/src/mirall/application.cpp
+++ b/src/mirall/application.cpp
@@ -302,13 +302,7 @@ void Application::slotConnectionValidatorResult(ConnectionValidator::Status stat
startupFails = _conValidator->errors();
_startupNetworkError = _conValidator->networkError();
if (_userTriggeredConnect) {
- if(_connectionMsgBox.isNull()) {
- _connectionMsgBox = new QMessageBox(QMessageBox::Warning, tr("Connection failed"),
- _conValidator->errors().join(". ").append('.'), QMessageBox::Ok, 0);
- _connectionMsgBox->setAttribute(Qt::WA_DeleteOnClose);
- _connectionMsgBox->open();
- _userTriggeredConnect = false;
- }
+ _userTriggeredConnect = false;
}
QTimer::singleShot(30*1000, this, SLOT(slotCheckConnection()));
}
--
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