blob: c5a561e710167a4178db633ad2c0b2f5096f254b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include <QObject>
// The class does nothing except provide a fake assignment operator for QObject
// It's meant to be used inside classes that need i18n support but are returned by value.
struct TR : QObject
{
TR() = default;
TR(const TR&) : QObject(nullptr) {}
TR& operator=(const TR&) { return *this; }
};
|