homescreenapp/stateplugins/hshomescreenstateplugin/src/hsdocumentloader.cpp
changeset 51 4785f57bf3d4
parent 35 f9ce957a272c
child 60 30f14686fb04
--- a/homescreenapp/stateplugins/hshomescreenstateplugin/src/hsdocumentloader.cpp	Fri May 14 15:43:04 2010 +0300
+++ b/homescreenapp/stateplugins/hshomescreenstateplugin/src/hsdocumentloader.cpp	Thu May 27 12:46:08 2010 +0300
@@ -18,6 +18,7 @@
 #include "hsdocumentloader.h"
 #include "hspageindicator.h"
 #include "hstrashbinwidget.h"
+#include "hsconfiguration.h"
 
 /*!
     \class HsDocumentLoader
@@ -50,7 +51,7 @@
 QObject *HsDocumentLoader::createObject(const QString &type, const QString &name)
 {
     if (type == HsPageIndicator::staticMetaObject.className()) {
-        QObject *object = new HsPageIndicator;
+        QObject *object = new HsPageIndicator(HsConfiguration::pageIndicatorSpacing());
         object->setObjectName(name);
         return object;
     }