summaryrefslogtreecommitdiffstats
path: root/kresources/newexchange/kabc_resourceexchange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/newexchange/kabc_resourceexchange.cpp')
-rw-r--r--kresources/newexchange/kabc_resourceexchange.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/kresources/newexchange/kabc_resourceexchange.cpp b/kresources/newexchange/kabc_resourceexchange.cpp
index 8b32a4fac..7b08423a5 100644
--- a/kresources/newexchange/kabc_resourceexchange.cpp
+++ b/kresources/newexchange/kabc_resourceexchange.cpp
@@ -26,13 +26,19 @@
#include "groupwareuploadjob.h"
#include "kresources_groupwareprefs.h"
+#include <klocale.h>
+
using namespace KABC;
ResourceExchange::ResourceExchange( const KConfig *config )
: ResourceGroupwareBase( config )
{
init();
- if ( config ) readConfig( config );
+ if ( config ) {
+ readConfig( config );
+ } else {
+ setResourceName( i18n( "Exchange Server" ) );
+ }
}
void ResourceExchange::init()