summaryrefslogtreecommitdiff
path: root/src/unstable/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/unstable/settings.cpp')
-rw-r--r--src/unstable/settings.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unstable/settings.cpp b/src/unstable/settings.cpp
index 792aff9..b812b60 100644
--- a/src/unstable/settings.cpp
+++ b/src/unstable/settings.cpp
@@ -2,6 +2,7 @@
2 2
3#include "bu/settingsdrivertaf.h" 3#include "bu/settingsdrivertaf.h"
4#include "bu/settingsdriverregistry.h" 4#include "bu/settingsdriverregistry.h"
5#include "bu/settingsdriverini.h"
5 6
6Bu::Settings::Settings( const Bu::UtfString &sCompany, 7Bu::Settings::Settings( const Bu::UtfString &sCompany,
7 const Bu::UtfString &sProduct, Bu::Settings::Driver eDriver ) : 8 const Bu::UtfString &sProduct, Bu::Settings::Driver eDriver ) :
@@ -15,7 +16,7 @@ Bu::Settings::Settings( const Bu::UtfString &sCompany,
15#if defined( WIN32 ) 16#if defined( WIN32 )
16 pDriver = new Bu::SettingsDriverRegistry(); 17 pDriver = new Bu::SettingsDriverRegistry();
17#else 18#else
18 pDriver = new Bu::SettingsDriverTaf(); 19 pDriver = new Bu::SettingsDriverIni();
19#endif 20#endif
20 break; 21 break;
21 22
@@ -24,7 +25,7 @@ Bu::Settings::Settings( const Bu::UtfString &sCompany,
24 break; 25 break;
25 26
26 case DriverIni: 27 case DriverIni:
27 throw Bu::ExceptionBase("Not supported"); 28 pDriver = new Bu::SettingsDriverIni();
28 break; 29 break;
29 } 30 }
30 31