fix warnings

Mon, 24 Aug 2020 23:02:30 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Mon, 24 Aug 2020 23:02:30 +0300
changeset 93
6fe24fd945c0
parent 92
c438a7db7c52
child 94
164f53fb5921

fix warnings

locale/fi.ts file | annotate | diff | comparison | revisions
src/linetypes/polygonobject.h file | annotate | diff | comparison | revisions
--- a/locale/fi.ts	Mon Aug 24 23:00:50 2020 +0300
+++ b/locale/fi.ts	Mon Aug 24 23:02:30 2020 +0300
@@ -235,17 +235,17 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../src/ui/multiplyfactordialog.ui" line="24"/>
+        <location filename="../src/ui/multiplyfactordialog.ui" line="22"/>
         <source>Factor:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../src/ui/multiplyfactordialog.ui" line="34"/>
+        <location filename="../src/ui/multiplyfactordialog.ui" line="36"/>
         <source>Invert</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../src/ui/multiplyfactordialog.ui" line="43"/>
+        <location filename="../src/ui/multiplyfactordialog.ui" line="45"/>
         <source>Preview</source>
         <translation type="unfinished"></translation>
     </message>
@@ -253,17 +253,17 @@
 <context>
     <name>QObject</name>
     <message>
-        <location filename="../src/gl/partrenderer.cpp" line="250"/>
+        <location filename="../src/gl/partrenderer.cpp" line="249"/>
         <source>OpenGL error: %1</source>
         <translation>OpenGL-virhe: %1</translation>
     </message>
     <message>
-        <location filename="../src/gl/partrenderer.cpp" line="251"/>
+        <location filename="../src/gl/partrenderer.cpp" line="250"/>
         <source>OpenGL error</source>
         <translation>OpenGL-virhe</translation>
     </message>
     <message>
-        <location filename="../src/gl/partrenderer.cpp" line="253"/>
+        <location filename="../src/gl/partrenderer.cpp" line="252"/>
         <source>Damn it</source>
         <translation>Hemmetti</translation>
     </message>
--- a/src/linetypes/polygonobject.h	Mon Aug 24 23:00:50 2020 +0300
+++ b/src/linetypes/polygonobject.h	Mon Aug 24 23:02:30 2020 +0300
@@ -52,7 +52,7 @@
 		}
 		return BaseClass::getProperty(id);
 	}
-	void setProperty(SetPropertyResult* result, const PropertyKeyValue& pair)
+	void setProperty(SetPropertyResult* result, const PropertyKeyValue& pair) override
 	{
 		LDRAW_OBJECT_HANDLE_SET_PROPERTY(Point0, {points[0] = value;})
 		LDRAW_OBJECT_HANDLE_SET_PROPERTY(Point1, {points[1] = value;})

mercurial