r23723 by jghali - Fix coverity 1463053: Failed to override method

scribus-commit scribus-commit at lists.scribus.net
Sun May 10 11:35:59 UTC 2020


Author: jghali
Date: Sun May 10 11:35:59 2020
New Revision: 23723

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23723
Log:
Fix coverity 1463053: Failed to override method

Modified:
    trunk/Scribus/scribus/pageitem_osgframe.cpp
    trunk/Scribus/scribus/pageitem_osgframe.h

Modified: trunk/Scribus/scribus/pageitem_osgframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23723&path=/trunk/Scribus/scribus/pageitem_osgframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_osgframe.cpp	(original)
+++ trunk/Scribus/scribus/pageitem_osgframe.cpp	Sun May 10 11:35:59 2020
@@ -155,7 +155,7 @@
 	}
 }
 
-QString PageItem_OSGFrame::infoDescription()
+QString PageItem_OSGFrame::infoDescription() const
 {
 	QString htmlText;
 	htmlText.append( tr("3D Model") + "<br/>");

Modified: trunk/Scribus/scribus/pageitem_osgframe.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23723&path=/trunk/Scribus/scribus/pageitem_osgframe.h
==============================================================================
--- trunk/Scribus/scribus/pageitem_osgframe.h	(original)
+++ trunk/Scribus/scribus/pageitem_osgframe.h	Sun May 10 11:35:59 2020
@@ -85,7 +85,7 @@
 		void setExternalModelFile(QString val);
 		void loadModel();
 		void applicableActions(QStringList& actionList) override;
-		virtual QString infoDescription();
+		QString infoDescription() const override;
 		double getDistance(osg::Vec3d pos1, osg::Vec3d pos2);
 		QString getPDFMatrix(QString viewName);
 




More information about the scribus-commit mailing list