Copyright 2017-2018 Nextcloud GmbH
"
+ "Copyright 2012-2018 ownCloud GmbH
Licensed under the GNU General Public License (GPL) Version 2.0 or any later version.
"); + + _ui->notice->setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextBrowserInteraction); + _ui->notice->setText(notice); + _ui->notice->setWordWrap(true); + + connect(_ui->closeButton, &QPushButton::clicked, this, &LegalNotice::accept); +} + +LegalNotice::~LegalNotice() +{ + delete _ui; +} + +} diff --git a/src/gui/legalnotice.h b/src/gui/legalnotice.h new file mode 100644 index 000000000..ba776a088 --- /dev/null +++ b/src/gui/legalnotice.h @@ -0,0 +1,45 @@ +/* + * Copyright (C) by Roeland Jago DoumaDo you really want to delete the public link share %1?
" "Note: This action cannot be undone.
") - .arg(shareName(*share)), + .arg(shareName()), QMessageBox::NoButton, this); QPushButton *yesButton = @@ -564,91 +468,64 @@ void ShareLinkWidget::confirmAndDeleteShare(const QSharedPointerBy Klaas Freitag, Daniel Molkentin, Jan-Christoph Borchardt, " - "Olivier Goffart, Markus Götz and others.
"); - - devString += tr("This release was supplied by the Nextcloud GmbH
"
- "Copyright 2017-2018 Nextcloud GmbH
"
- "Copyright 2012-2018 ownCloud GmbH
Licensed under the GNU General Public License (GPL) Version 2.0 or any later version.
"); + devString += tr("This release was supplied by the Nextcloud GmbH
"); devString += gitSHA1();