Commit 360ea4fb authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

fix for --debug=neutral

parent c51c19cd
......@@ -31,8 +31,8 @@ import logging
from qt import QObject
from PyQt5.QtGui import QGuiApplication
from PyQt5 import QtCore
from kde import KApplication, KCmdLineArgs, KCmdLineOptions, KGlobal
from mi18n import i18n
from kde import KApplication, KCmdLineArgs, KCmdLineOptions
from mi18n import i18n, MLocale
from about import About
from common import Options, SingleshotOptions, Internal, Debug
......@@ -172,7 +172,7 @@ if hasattr(QGuiApplication, 'setDesktopFileName'):
QGuiApplication.setDesktopFileName('org.kde.kajongg')
if Debug.neutral:
KGlobal.translation = None
MLocale.translation = None
if Debug.events:
EVHANDLER = EvHandler()
......
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