summaryrefslogtreecommitdiffabout
path: root/kaddressbook/kabprefs.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/kabprefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabprefs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/kabprefs.cpp b/kaddressbook/kabprefs.cpp
index 42d541b..6f9c995 100644
--- a/kaddressbook/kabprefs.cpp
+++ b/kaddressbook/kabprefs.cpp
@@ -26,5 +26,5 @@
//#endif //KAB_EMBEDDED
-#include <qtextstream.h>
+#include <q3textstream.h>
#include <qfile.h>
#include <qregexp.h>
@@ -92,5 +92,5 @@ KABPrefs::KABPrefs()
QString defaultView = i18n( "Default Table View" );
addItemString( "CurrentView", &mCurrentView, defaultView );
- addItemStringList( "ViewNames", &mViewNames, defaultView );
+ addItemStringList( "ViewNames", &mViewNames, QStringList(defaultView) );
KPrefs::setCurrentGroup( "Filters" );