[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/mobile/lib
From:       Artur Duque de Souza <asouza () kde ! org>
Date:       2010-08-16 16:45:51
Message-ID: 20100816164551.E9FF3AC854 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1164382 by asouza:

Use ErrorOverlay on mobile applications

For now we are using the same widget as the one for desktop.
If we need another one that is fancier we can easily create a simbling
class that uses QML for the UI.


 M  +5 -0      kdeclarativefullscreenview.cpp  


--- trunk/KDE/kdepim/mobile/lib/kdeclarativefullscreenview.cpp #1164381:1164382
@@ -20,6 +20,8 @@
 #include "kdeclarativefullscreenview.h"
 #include "stylesheetloader.h"
 
+#include <akonadi/control.h>
+
 #include <KDebug>
 #include <KGlobalSettings>
 #include <KStandardDirs>
@@ -56,6 +58,9 @@
   glWidget = new QGLWidget(format, this); // use OpenGL ES2 backend.
   glWidget->setAutoFillBackground(false);
   setViewport(glWidget);
+  Akonadi::Control::widgetNeedsAkonadi( glWidget );
+#else
+  Akonadi::Control::widgetNeedsAkonadi( this );
 #endif
 
   setResizeMode( QDeclarativeView::SizeRootObjectToView );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic