diff options
author | David Faure <faure@kde.org> | 2009-05-29 12:40:01 (GMT) |
---|---|---|
committer | David Faure <faure@kde.org> | 2009-05-29 12:40:01 (GMT) |
commit | 4193c81617e8f86f7939966465623a5170830b26 (patch) | |
tree | 0090e16defb2c004f4ae22706197ed692a9f8487 /src/corelib/kernel | |
parent | 6d494ed2971597ee134d1fbf8019432d07286791 (diff) | |
download | Qt-4193c81617e8f86f7939966465623a5170830b26.zip Qt-4193c81617e8f86f7939966465623a5170830b26.tar.gz Qt-4193c81617e8f86f7939966465623a5170830b26.tar.bz2 |
static method, no instance needed
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r-- | src/corelib/kernel/qtranslator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp index 308ca24..1b42c4e 100644 --- a/src/corelib/kernel/qtranslator.cpp +++ b/src/corelib/kernel/qtranslator.cpp @@ -346,7 +346,7 @@ QTranslator::QTranslator(QObject * parent, const char * name) QTranslator::~QTranslator() { if (QCoreApplication::instance()) - QCoreApplication::instance()->removeTranslator(this); + QCoreApplication::removeTranslator(this); Q_D(QTranslator); d->clear(); } |