summaryrefslogtreecommitdiff
path: root/test/uitests
diff options
context:
space:
mode:
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));