r22955 by craig - Minor cleanup

scribus-commit scribus-commit at lists.scribus.net
Mon Apr 15 21:53:35 UTC 2019


Author: craig
Date: Mon Apr 15 21:53:34 2019
New Revision: 22955

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22955
Log:
Minor cleanup

Modified:
    trunk/Scribus/scribus/canvasmode_copyproperties.cpp
    trunk/Scribus/scribus/canvasmode_drawbezier.cpp
    trunk/Scribus/scribus/downloadmanager/scdlmgr.h

Modified: trunk/Scribus/scribus/canvasmode_copyproperties.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22955&path=/trunk/Scribus/scribus/canvasmode_copyproperties.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_copyproperties.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_copyproperties.cpp	Mon Apr 15 21:53:34 2019
@@ -88,7 +88,7 @@
 	}
 }
 
-void CanvasMode_CopyProperties::deactivate(bool forGesture)
+void CanvasMode_CopyProperties::deactivate(bool  /*forGesture*/)
 {
 //	qDebug() << "CanvasMode_CopyProperties::deactivate" << forGesture;
 	m_view->setRedrawMarkerShown(false);
@@ -358,7 +358,7 @@
 	return false;
 }
 
-void CanvasMode_CopyProperties::createContextMenu(PageItem* currItem, double mx, double my)
+void CanvasMode_CopyProperties::createContextMenu(PageItem* /*currItem*/, double mx, double my)
 {
 	ContextMenu* cmen=nullptr;
 	m_view->setCursor(QCursor(Qt::ArrowCursor));

Modified: trunk/Scribus/scribus/canvasmode_drawbezier.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22955&path=/trunk/Scribus/scribus/canvasmode_drawbezier.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_drawbezier.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_drawbezier.cpp	Mon Apr 15 21:53:34 2019
@@ -120,7 +120,7 @@
 }
 
 
-void BezierMode::activate(bool flag)
+void BezierMode::activate(bool /*flag*/)
 {
 //	qDebug() << "DrawBezierMode::activate" << flag;
 	Mxp = Myp = -1;
@@ -131,7 +131,7 @@
 	setModeCursor();
 }
 
-void BezierMode::deactivate(bool flag)
+void BezierMode::deactivate(bool /*flag*/)
 {
 //	qDebug() << "BezierMode::deactivate" << flag;
 //	m_view->stopDragTimer();

Modified: trunk/Scribus/scribus/downloadmanager/scdlmgr.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22955&path=/trunk/Scribus/scribus/downloadmanager/scdlmgr.h
==============================================================================
--- trunk/Scribus/scribus/downloadmanager/scdlmgr.h	(original)
+++ trunk/Scribus/scribus/downloadmanager/scdlmgr.h	Mon Apr 15 21:53:34 2019
@@ -38,9 +38,9 @@
 
 	signals:
 		void finished();
-		void fileReceived(const QString& t);
-		void fileFailed(const QString& t);
-		void fileDownloadProgress(qint64 bytesReceived, qint64 bytesTotal);
+		void fileReceived(QString);
+		void fileFailed(QString);
+		void fileDownloadProgress(qint64 bytesReceived,qint64 bytesTotal);
 
 	private:
 		ScDLThread *m_thread;




More information about the scribus-commit mailing list