r20791 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Sat Jan 30 17:39:16 UTC 2016
Author: jghali
Date: Sat Jan 30 17:39:16 2016
New Revision: 20791
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20791
Log:
coverity #989847, uninitialized pointer field
Modified:
trunk/Scribus/scribus/ui/helpbrowser.cpp
trunk/Scribus/scribus/ui/helpbrowser.h
Modified: trunk/Scribus/scribus/ui/helpbrowser.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20791&path=/trunk/Scribus/scribus/ui/helpbrowser.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/helpbrowser.cpp (original)
+++ trunk/Scribus/scribus/ui/helpbrowser.cpp Sat Jan 30 17:39:16 2016
@@ -133,13 +133,7 @@
}
};
-bool HelpBrowser::firstRun=true;
-
-HelpBrowser::HelpBrowser(QWidget* parent)
- : QMainWindow( parent )
-{
- setupUi(this);
-}
+bool HelpBrowser::firstRun = true;
HelpBrowser::HelpBrowser( QWidget* parent, const QString& /*caption*/, const QString& guiLanguage, const QString& jumpToSection, const QString& jumpToFile)
: QMainWindow( parent )
Modified: trunk/Scribus/scribus/ui/helpbrowser.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20791&path=/trunk/Scribus/scribus/ui/helpbrowser.h
==============================================================================
--- trunk/Scribus/scribus/ui/helpbrowser.h (original)
+++ trunk/Scribus/scribus/ui/helpbrowser.h Sat Jan 30 17:39:16 2016
@@ -67,10 +67,8 @@
Q_OBJECT
public:
- HelpBrowser(QWidget* parent);
HelpBrowser(QWidget* parent, const QString& caption, const QString& guiLangage="en", const QString& jumpToSection="", const QString& jumpToFile="");
~HelpBrowser();
-
virtual void changeEvent(QEvent *e);
More information about the scribus-commit
mailing list