summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/qfunctionconfigurator.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-19 15:51:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-19 15:51:11 +0200
commit9c605834652206f550ecca66c464ca990e4d30c0 (patch)
treea65dca7dbd6142cee685afd875a1038152133a82 /qfunctionconfigurator/qfunctionconfigurator.cpp
parent93a6f3ba19998e7590c263d5673c8f26cd6a4b1e (diff)
qfc: pass -Wall -pedantic -Wextra
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.cpp')
-rw-r--r--qfunctionconfigurator/qfunctionconfigurator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp
index 4a5f7ca6..0bd9aad0 100644
--- a/qfunctionconfigurator/qfunctionconfigurator.cpp
+++ b/qfunctionconfigurator/qfunctionconfigurator.cpp
@@ -208,7 +208,7 @@ void QFunctionConfigurator::drawBackground(const QRectF &fullRect)
//
// Draw the Function for the graph, on a Pixmap.
//
-void QFunctionConfigurator::drawFunction(const QRectF &fullRect)
+void QFunctionConfigurator::drawFunction()
{
if (!_config)
return;
@@ -277,7 +277,7 @@ int i;
}
if (_draw_function) {
- drawFunction(e->rect()); // Draw the Function on a Pixmap
+ drawFunction(); // Draw the Function on a Pixmap
_draw_function = false;
}
p.drawPixmap(0, 0, _function); // Always draw the background and the function
@@ -650,7 +650,7 @@ void QFunctionConfigurator::setCaption(QString cap)
update();
}
-void QFunctionConfigurator::resizeEvent(QResizeEvent *e)
+void QFunctionConfigurator::resizeEvent(QResizeEvent *)
{
range = QRectF(40, 20, MaxInput * pPerEGU_Input, MaxOutput * pPerEGU_Output);