-rw-r--r-- | libopie2/opiepim/core/opimaccessfactory.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libopie2/opiepim/core/opimaccessfactory.h b/libopie2/opiepim/core/opimaccessfactory.h index eecfa96..283b6ab 100644 --- a/libopie2/opiepim/core/opimaccessfactory.h +++ b/libopie2/opiepim/core/opimaccessfactory.h | |||
@@ -56,9 +56,8 @@ namespace Opie { | |||
56 | * | 56 | * |
57 | * @author Stefan Eilers | 57 | * @author Stefan Eilers |
58 | * @version 0.1 | 58 | * @version 0.1 |
59 | */ | 59 | */ |
60 | */ | ||
61 | 60 | ||
62 | template<class T> | 61 | template<class T> |
63 | class OPimAccessFactory | 62 | class OPimAccessFactory |
64 | { | 63 | { |
@@ -104,11 +103,11 @@ class OPimAccessFactory | |||
104 | * string unique for your application ! | 103 | * string unique for your application ! |
105 | * @see OPimGlobal | 104 | * @see OPimGlobal |
106 | * | 105 | * |
107 | */ | 106 | */ |
108 | static T* default( OPimGlobal::PimType type, const QString& appName ){ | 107 | static T* default( typename OPimGlobal::PimType type, const QString& appName ){ |
109 | 108 | ||
110 | return create( type, OPimGlobal::DEFAULT, appName ) | 109 | return create( type, OPimGlobal::DEFAULT, appName ); |
111 | 110 | ||
112 | } | 111 | } |
113 | }; | 112 | }; |
114 | 113 | ||