~ubuntu-branches/ubuntu/vivid/akonadi/vivid

« back to all changes in this revision

Viewing changes to server/src/storage/dbconfigvirtuoso.cpp

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2013-11-11 17:38:58 UTC
  • mfrom: (1.1.46)
  • Revision ID: package-import@ubuntu.com-20131111173858-kltz6s4ebjishfej
Tags: 1.10.80-0ubuntu1
* New upstream release
 - Update install files
 - Update disable_dbus_requiring_tests.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
 
67
67
void DbConfigVirtuoso::apply( QSqlDatabase &database )
68
68
{
69
 
  if ( !mDatabaseName.isEmpty() )
 
69
  if ( !mDatabaseName.isEmpty() ) {
70
70
    database.setDatabaseName( mDatabaseName );
71
 
  if ( !mHostName.isEmpty() )
 
71
  }
 
72
  if ( !mHostName.isEmpty() ) {
72
73
    database.setHostName( mHostName );
73
 
  if ( !mUserName.isEmpty() )
 
74
  }
 
75
  if ( !mUserName.isEmpty() ) {
74
76
    database.setUserName( mUserName );
75
 
  if ( !mPassword.isEmpty() )
 
77
  }
 
78
  if ( !mPassword.isEmpty() ) {
76
79
    database.setPassword( mPassword );
 
80
  }
77
81
 
78
82
  database.setConnectOptions( mConnectionOptions );
79
83