summaryrefslogtreecommitdiffhomepage
path: root/compat/tr.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-05-11 19:30:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-05-11 19:30:30 +0200
commit36b5237d4d3088e5cd344b552dfe70169e7dee42 (patch)
tree8a1529a21ad5e2f596a10b884b6754a47730a6a8 /compat/tr.hpp
parent31bab22b5ee7bc18ad4bdb2fb74ed4948a900cc0 (diff)
fix GCC warnings
Diffstat (limited to 'compat/tr.hpp')
-rw-r--r--compat/tr.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/tr.hpp b/compat/tr.hpp
index 4504f791..c5a561e7 100644
--- a/compat/tr.hpp
+++ b/compat/tr.hpp
@@ -8,7 +8,7 @@
struct TR : QObject
{
TR() = default;
- TR(const TR&) {}
+ TR(const TR&) : QObject(nullptr) {}
TR& operator=(const TR&) { return *this; }
};