summaryrefslogtreecommitdiff
path: root/test/uitests
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-01-08 12:43:07 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2022-01-22 23:15:29 +0100
commit414606b64aa6c6cf3209861b81a92a6af873937f (patch)
tree408992e785dde59748aa2f94bd8666f190575567 /test/uitests
parent235ad6fbbce2e0ae9e06db960a5ba3b099936ace (diff)
Make UI events const refs and celan up redundant use of virtual with override.event_cleanup
Diffstat (limited to 'test/uitests')
-rw-r--r--test/uitests/framewidgettest.cc2
-rw-r--r--test/uitests/powerwidgettest.cc2
-rw-r--r--test/uitests/tabwidgettest.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/uitests/framewidgettest.cc b/test/uitests/framewidgettest.cc
index 97f9ed0..9660074 100644
--- a/test/uitests/framewidgettest.cc
+++ b/test/uitests/framewidgettest.cc
@@ -141,7 +141,7 @@ public:
return !closing;
}
- void repaintEvent(dggui::RepaintEvent* repaintEvent) override
+ void repaintEvent(const dggui::RepaintEvent& repaintEvent) override
{
dggui::Painter painter(*this);
painter.setColour(dggui::Colour(0.85));
diff --git a/test/uitests/powerwidgettest.cc b/test/uitests/powerwidgettest.cc
index 4d01168..fd1346d 100644
--- a/test/uitests/powerwidgettest.cc
+++ b/test/uitests/powerwidgettest.cc
@@ -96,7 +96,7 @@ public:
return !closing;
}
- void repaintEvent(dggui::RepaintEvent* repaintEvent) override
+ void repaintEvent(const dggui::RepaintEvent& repaintEvent) override
{
dggui::Painter painter(*this);
painter.setColour(dggui::Colour(0.85));
diff --git a/test/uitests/tabwidgettest.cc b/test/uitests/tabwidgettest.cc
index 804e979..ac023fd 100644
--- a/test/uitests/tabwidgettest.cc
+++ b/test/uitests/tabwidgettest.cc
@@ -126,7 +126,7 @@ public:
return !closing;
}
- void repaintEvent(dggui::RepaintEvent* repaintEvent) override
+ void repaintEvent(const dggui::RepaintEvent& repaintEvent) override
{
dggui::Painter painter(*this);
painter.setColour(dggui::Colour(0.85));