From 1c326029a3c4431022e9370259f50b532da1df19 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Fri, 28 Sep 2012 15:19:42 +0200 Subject: [PATCH] More theming fixes. --- src/mirall/owncloudsetupwizard.cpp | 3 ++- src/mirall/statusdialog.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mirall/owncloudsetupwizard.cpp b/src/mirall/owncloudsetupwizard.cpp index 57b46a936..2f8ef5632 100644 --- a/src/mirall/owncloudsetupwizard.cpp +++ b/src/mirall/owncloudsetupwizard.cpp @@ -96,7 +96,8 @@ void OwncloudSetupWizard::slotAssistantFinished( int result ) // Now write the resulting folder definition if folder names are set. if( !( _localFolder.isEmpty() || _remoteFolder.isEmpty() ) ) { // both variables are set. if( _folderMan ) { - _folderMan->addFolderDefinition( QLatin1String("owncloud"), QLatin1String("ownCloud"), _localFolder, _remoteFolder, false ); + _folderMan->addFolderDefinition( QLatin1String("owncloud"), Theme::instance()->appName(), + _localFolder, _remoteFolder, false ); _ocWizard->appendToResultWidget(tr("Local sync folder %1 successfully created!").arg(_localFolder)); } else { qDebug() << "WRN: Folderman is zero in Setup Wizzard."; diff --git a/src/mirall/statusdialog.cpp b/src/mirall/statusdialog.cpp index 2aaf7be42..67d1db064 100644 --- a/src/mirall/statusdialog.cpp +++ b/src/mirall/statusdialog.cpp @@ -446,8 +446,8 @@ void StatusDialog::slotOCInfo( const QString& url, const QString& versionStr, co qDebug() << "#-------# oC found on " << url; /* enable the open button */ _ocUrlLabel->setOpenExternalLinks(true); - _ocUrlLabel->setText( tr("Connected to %2, %3 %4") - .arg(url).arg(url).arg(Theme::instance()->appName()).arg(versionStr) ); + _ocUrlLabel->setText( tr("Connected to %2, server version %3") + .arg(url).arg(url).arg(versionStr) ); _ocUrlLabel->setToolTip( tr("Version: %1").arg(version)); _ButtonAdd->setEnabled(true);