[partition] Reduce Transifex warnings

- Add a (superfluous, since they don't have their own signals or slots)
   Q_OBJECT macro to the VG jobs, to silence a Transifex warning (this
   does make sure that the tool knows about the context for the translated
   messages)
This commit is contained in:
Adriaan de Groot 2019-02-14 16:12:43 -05:00
parent 6fbc467795
commit 723358e145
4 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,7 @@
class CreateVolumeGroupJob : public Calamares::Job class CreateVolumeGroupJob : public Calamares::Job
{ {
Q_OBJECT
public: public:
CreateVolumeGroupJob( QString& vgName, QVector< const Partition* > pvList, const qint32 peSize ); CreateVolumeGroupJob( QString& vgName, QVector< const Partition* > pvList, const qint32 peSize );

View File

@ -25,6 +25,7 @@ class LvmDevice;
class DeactivateVolumeGroupJob : public Calamares::Job class DeactivateVolumeGroupJob : public Calamares::Job
{ {
Q_OBJECT
public: public:
DeactivateVolumeGroupJob( LvmDevice* device ); DeactivateVolumeGroupJob( LvmDevice* device );

View File

@ -25,6 +25,7 @@ class LvmDevice;
class RemoveVolumeGroupJob : public Calamares::Job class RemoveVolumeGroupJob : public Calamares::Job
{ {
Q_OBJECT
public: public:
RemoveVolumeGroupJob( LvmDevice* device ); RemoveVolumeGroupJob( LvmDevice* device );

View File

@ -28,6 +28,7 @@ class Partition;
class ResizeVolumeGroupJob : public Calamares::Job class ResizeVolumeGroupJob : public Calamares::Job
{ {
Q_OBJECT
public: public:
ResizeVolumeGroupJob( LvmDevice* device, QVector< const Partition* >& partitionList ); ResizeVolumeGroupJob( LvmDevice* device, QVector< const Partition* >& partitionList );