Commit 0f47f186 authored by Michael Reeves's avatar Michael Reeves

check if QT_NO_TRANSLATION is defined

parent b58bfdad
......@@ -89,7 +89,7 @@ static bool isOptionUsed( const QString& s, int argc, char* argv[] ) {
}
#endif
#ifdef KREPLACEMENTS_H
ifdef KREPLACEMENTS_H && !defined(QT_NO_TRANSLATION)
class ContextFreeTranslator : public QTranslator
{
public:
......@@ -229,7 +229,7 @@ int main( int argc, char *argv[] ) {
app.setOrganizationDomain(aboutData.organizationDomain());
app.setApplicationVersion(aboutData.version());
#ifdef KREPLACEMENTS_H
#ifdef KREPLACEMENTS_H && !defined(QT_NO_TRANSLATION)
QString locale;
locale = app.config()->readEntry( "Language", "Auto" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment