summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2009-05-29 12:40:01 (GMT)
committerDavid Faure <faure@kde.org>2009-05-29 12:40:01 (GMT)
commit4193c81617e8f86f7939966465623a5170830b26 (patch)
tree0090e16defb2c004f4ae22706197ed692a9f8487 /src/corelib/kernel
parent6d494ed2971597ee134d1fbf8019432d07286791 (diff)
downloadQt-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.cpp2
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();
}