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:
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "render/audioparams.h"
|
||||
|
||||
OLIVE_NAMESPACE_ENTER
|
||||
namespace olive {
|
||||
|
||||
class ChannelLayoutComboBox : public QComboBox
|
||||
{
|
||||
@@ -57,6 +57,6 @@ public:
|
||||
|
||||
};
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
}
|
||||
|
||||
#endif // CHANNELLAYOUTCOMBOBOX_H
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "common/rational.h"
|
||||
#include "render/videoparams.h"
|
||||
|
||||
OLIVE_NAMESPACE_ENTER
|
||||
namespace olive {
|
||||
|
||||
class FrameRateComboBox : public QComboBox
|
||||
{
|
||||
@@ -57,6 +57,6 @@ public:
|
||||
|
||||
};
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
}
|
||||
|
||||
#endif // FRAMERATECOMBOBOX_H
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "render/videoparams.h"
|
||||
|
||||
OLIVE_NAMESPACE_ENTER
|
||||
namespace olive {
|
||||
|
||||
class InterlacedComboBox : public QComboBox
|
||||
{
|
||||
@@ -52,6 +52,6 @@ public:
|
||||
|
||||
};
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
}
|
||||
|
||||
#endif // INTERLACEDCOMBOBOX_H
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "common/ratiodialog.h"
|
||||
#include "render/videoparams.h"
|
||||
|
||||
OLIVE_NAMESPACE_ENTER
|
||||
namespace olive {
|
||||
|
||||
class PixelAspectRatioComboBox : public QComboBox
|
||||
{
|
||||
@@ -122,6 +122,6 @@ private:
|
||||
|
||||
};
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
}
|
||||
|
||||
#endif // PIXELASPECTRATIOCOMBOBOX_H
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "render/videoparams.h"
|
||||
|
||||
OLIVE_NAMESPACE_ENTER
|
||||
namespace olive {
|
||||
|
||||
class PixelFormatComboBox : public QComboBox
|
||||
{
|
||||
@@ -61,6 +61,6 @@ public:
|
||||
|
||||
};
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
}
|
||||
|
||||
#endif // PIXELFORMATCOMBOBOX_H
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "render/audioparams.h"
|
||||
|
||||
OLIVE_NAMESPACE_ENTER
|
||||
namespace olive {
|
||||
|
||||
class SampleRateComboBox : public QComboBox
|
||||
{
|
||||
@@ -56,6 +56,6 @@ public:
|
||||
|
||||
};
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
}
|
||||
|
||||
#endif // SAMPLERATECOMBOBOX_H
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "render/videoparams.h"
|
||||
|
||||
OLIVE_NAMESPACE_ENTER
|
||||
namespace olive {
|
||||
|
||||
class VideoDividerComboBox : public QComboBox
|
||||
{
|
||||
@@ -64,6 +64,6 @@ public:
|
||||
|
||||
};
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
}
|
||||
|
||||
#endif // VIDEODIVIDERCOMBOBOX_H
|
||||
|
||||
Reference in New Issue
Block a user