More theming fixes.

This commit is contained in:
Klaas Freitag 2012-09-28 15:19:42 +02:00
parent 4ac85b0702
commit 1c326029a3
2 changed files with 4 additions and 3 deletions

View file

@ -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("<font color=\"green\"><b>Local sync folder %1 successfully created!</b></font>").arg(_localFolder));
} else {
qDebug() << "WRN: Folderman is zero in Setup Wizzard.";

View file

@ -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 <a href=\"%1\">%2</a>, %3 %4")
.arg(url).arg(url).arg(Theme::instance()->appName()).arg(versionStr) );
_ocUrlLabel->setText( tr("Connected to <a href=\"%1\">%2</a>, server version %3")
.arg(url).arg(url).arg(versionStr) );
_ocUrlLabel->setToolTip( tr("Version: %1").arg(version));
_ButtonAdd->setEnabled(true);