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 "common/clamp.h"
|
||||
#include "common/oiioutils.h"
|
||||
|
||||
OLIVE_NAMESPACE_ENTER
|
||||
namespace olive {
|
||||
|
||||
Color Color::fromHsv(const double &h, const double &s, const double &v)
|
||||
{
|
||||
@@ -301,9 +301,9 @@ Color Color::operator/(const double &rhs) const
|
||||
return c;
|
||||
}
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
}
|
||||
|
||||
QDebug operator<<(QDebug debug, const OLIVE_NAMESPACE::Color &r)
|
||||
QDebug operator<<(QDebug debug, const olive::Color &r)
|
||||
{
|
||||
debug.nospace() << "[R: " << r.red() << ", G: " << r.green() << ", B: " << r.blue() << ", A: " << r.alpha() << "]";
|
||||
return debug.space();
|
||||
|
||||
Reference in New Issue
Block a user