initialized a string with a empty string and not 0 because it works on on linux

preferencesAboutTextFull
Claudio Valerio 14 years ago
parent b485765eec
commit 73804c6884
  1. 6
      src/adaptors/publishing/UBDocumentPublisher.cpp

@ -28,14 +28,14 @@
#include "UBSvgSubsetRasterizer.h" #include "UBSvgSubsetRasterizer.h"
#include "core/memcheck.h" #include "core/memcheck.h"
#include <../Trolltech/Qt-4.7.0/include/QtWebKit/qwebview.h>
UBDocumentPublisher::UBDocumentPublisher(UBDocumentProxy* pDocument, QObject *parent) UBDocumentPublisher::UBDocumentPublisher(UBDocumentProxy* pDocument, QObject *parent)
: UBAbstractPublisher(parent) : UBAbstractPublisher(parent)
, mSourceDocument(pDocument) , mSourceDocument(pDocument)
, mPublishingDocument(0) , mPublishingDocument(0)
, mUsername(0) , mUsername("")
, mPassword(0) , mPassword("")
{ {
mpWebView = new QWebView(0); mpWebView = new QWebView(0);
UBApplication::mainWindow->addSankoreWebDocumentWidget(mpWebView); UBApplication::mainWindow->addSankoreWebDocumentWidget(mpWebView);

Loading…
Cancel
Save