use hardcoded namespace

The macro defined namespaces confused the hell out of lupdate and more or less broke translations permanently. Looks like the only way we can do it is to have a hardcoded namespace, which goes against my instinct, but honestly how likely is it that we'll change the namespace anyway (I guess forks might want to do it, but that's their problem ;) )
This commit is contained in:
itsmattkc
2020-11-17 20:24:42 +11:00
parent d241090a9f
commit 75d4cd899b
626 changed files with 1971 additions and 1972 deletions
+2 -2
View File
@@ -20,11 +20,11 @@
#include "codecsection.h"
OLIVE_NAMESPACE_ENTER
namespace olive {
CodecSection::CodecSection(QWidget *parent) :
QWidget(parent)
{
}
OLIVE_NAMESPACE_EXIT
}
+2 -2
View File
@@ -25,7 +25,7 @@
#include "codec/encoder.h"
OLIVE_NAMESPACE_ENTER
namespace olive {
class CodecSection : public QWidget
{
@@ -37,6 +37,6 @@ public:
};
OLIVE_NAMESPACE_EXIT
}
#endif // CODECSECTION_H
+2 -2
View File
@@ -28,7 +28,7 @@
#include "common/qtutils.h"
#include "widget/slider/integerslider.h"
OLIVE_NAMESPACE_ENTER
namespace olive {
H264Section::H264Section(QWidget *parent) :
CodecSection(parent)
@@ -208,4 +208,4 @@ int64_t H264FileSizeSection::GetFileSize() const
return qRound64(file_size_->GetValue() * 1024.0 * 1024.0 * 8.0);
}
OLIVE_NAMESPACE_EXIT
}
+2 -2
View File
@@ -27,7 +27,7 @@
#include "codecsection.h"
#include "widget/slider/floatslider.h"
OLIVE_NAMESPACE_ENTER
namespace olive {
class H264CRFSection : public QWidget
{
@@ -112,6 +112,6 @@ private:
};
OLIVE_NAMESPACE_EXIT
}
#endif // H264SECTION_H
+2 -2
View File
@@ -23,7 +23,7 @@
#include <QGridLayout>
#include <QLabel>
OLIVE_NAMESPACE_ENTER
namespace olive {
ImageSection::ImageSection(QWidget* parent) :
CodecSection(parent)
@@ -44,4 +44,4 @@ QCheckBox *ImageSection::image_sequence_checkbox() const
return image_sequence_checkbox_;
}
OLIVE_NAMESPACE_EXIT
}
+2 -2
View File
@@ -25,7 +25,7 @@
#include "codecsection.h"
OLIVE_NAMESPACE_ENTER
namespace olive {
class ImageSection : public CodecSection
{
@@ -40,6 +40,6 @@ private:
};
OLIVE_NAMESPACE_EXIT
}
#endif // IMAGESECTION_H