From 73804c6884f3d121fd0f09a808c53b82a1c013d3 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Thu, 30 Jun 2011 09:43:49 +0200 Subject: [PATCH] initialized a string with a empty string and not 0 because it works on on linux --- src/adaptors/publishing/UBDocumentPublisher.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/adaptors/publishing/UBDocumentPublisher.cpp b/src/adaptors/publishing/UBDocumentPublisher.cpp index 88c527e6..e2201f05 100644 --- a/src/adaptors/publishing/UBDocumentPublisher.cpp +++ b/src/adaptors/publishing/UBDocumentPublisher.cpp @@ -28,14 +28,14 @@ #include "UBSvgSubsetRasterizer.h" #include "core/memcheck.h" -#include <../Trolltech/Qt-4.7.0/include/QtWebKit/qwebview.h> + UBDocumentPublisher::UBDocumentPublisher(UBDocumentProxy* pDocument, QObject *parent) : UBAbstractPublisher(parent) , mSourceDocument(pDocument) , mPublishingDocument(0) - , mUsername(0) - , mPassword(0) + , mUsername("") + , mPassword("") { mpWebView = new QWebView(0); UBApplication::mainWindow->addSankoreWebDocumentWidget(mpWebView);