arora_nitpicker_plugin.patch

From: Christian Prochaska <christian.prochaska@genode-labs.com>


---
 src/qwebplugins/qwebplugins.pri      |    2 +-
 src/qwebplugins/webpluginfactory.cpp |    2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/qwebplugins/qwebplugins.pri b/src/qwebplugins/qwebplugins.pri
index 26b19db..cc54090 100644
--- a/src/qwebplugins/qwebplugins.pri
+++ b/src/qwebplugins/qwebplugins.pri
@@ -12,4 +12,4 @@ SOURCES += \
   webpluginfactory.cpp
 
 include $(call select_from_ports,arora)/src/app/arora/src/qwebplugins/clicktoflash/clicktoflash.pri
-
+include $(REP_DIR)/src/app/arora/qwebplugins/nitpicker/nitpicker.pri
diff --git a/src/qwebplugins/webpluginfactory.cpp b/src/qwebplugins/webpluginfactory.cpp
index c12fe72..2e09f69 100644
--- a/src/qwebplugins/webpluginfactory.cpp
+++ b/src/qwebplugins/webpluginfactory.cpp
@@ -20,6 +20,7 @@
 #include "webpluginfactory.h"
 
 #include "clicktoflashplugin.h"
+#include "nitpickerplugin.h"
 
 #include <qwidget.h>
 #include <qurl.h>
@@ -88,6 +89,7 @@ void WebPluginFactory::init() const
     qDeleteAll(m_plugins);
     m_plugins.clear();
     m_plugins.append(new ClickToFlashPlugin);
+    m_plugins.append(new NitpickerPlugin);
     foreach (AroraWebPlugin *plugin, m_plugins) {
         foreach (const QWebPluginFactory::MimeType &pluginMimeType, plugin->metaPlugin().mimeTypes)
             m_pluginsCache.insert(pluginMimeType.name, plugin);
