mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Wizard: Removed superflous text, as it is already in the header.
This fixes mirall#2358
This commit is contained in:
parent
e69702799f
commit
72a90199db
1 changed files with 1 additions and 12 deletions
|
@ -71,18 +71,7 @@ bool OwncloudWizardResultPage::isComplete() const
|
|||
|
||||
void OwncloudWizardResultPage::initializePage()
|
||||
{
|
||||
const QString localFolder = wizard()->property("localFolder").toString();
|
||||
QString text;
|
||||
if( _remoteFolder == QLatin1String("/") || _remoteFolder.isEmpty() ) {
|
||||
text = tr("Your entire account is synced to the local folder <i>%1</i>")
|
||||
.arg(QDir::toNativeSeparators(localFolder));
|
||||
} else {
|
||||
text = tr("%1 folder <i>%1</i> is synced to local folder <i>%2</i>")
|
||||
.arg(Theme::instance()->appNameGUI())
|
||||
.arg(_remoteFolder).arg(QDir::toNativeSeparators(localFolder));
|
||||
}
|
||||
_ui.localFolderLabel->setText( text );
|
||||
|
||||
_ui.localFolderLabel->setText( QString::null );
|
||||
}
|
||||
|
||||
void OwncloudWizardResultPage::setRemoteFolder(const QString &remoteFolder)
|
||||
|
|
Loading…
Reference in a new issue