Remove some debugging
Language loading debugging not necessary.
This commit is contained in:
parent
fd4329bee0
commit
70e06c33f6
|
@ -2,7 +2,6 @@ import glob
|
||||||
import os
|
import os
|
||||||
from PyQt4 import QtCore, QtGui
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
from debug import logger
|
|
||||||
from shared import codePath, config
|
from shared import codePath, config
|
||||||
|
|
||||||
class LanguageBox(QtGui.QComboBox):
|
class LanguageBox(QtGui.QComboBox):
|
||||||
|
@ -33,8 +32,6 @@ class LanguageBox(QtGui.QComboBox):
|
||||||
else:
|
else:
|
||||||
self.addItem(locale.nativeLanguageName(), localeShort)
|
self.addItem(locale.nativeLanguageName(), localeShort)
|
||||||
for i in range(self.count()):
|
for i in range(self.count()):
|
||||||
logger.debug("Checking locale %s at %i", str(self.itemData(i).toString()), i)
|
|
||||||
if self.itemData(i) == configuredLocale:
|
if self.itemData(i) == configuredLocale:
|
||||||
logger.debug("Matching locale %s at %i", configuredLocale, i)
|
|
||||||
self.setCurrentIndex(i)
|
self.setCurrentIndex(i)
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue
Block a user