Skip to content

Commit

Permalink
QString is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedat Demir committed Sep 1, 2015
1 parent 0c76192 commit 2faffa6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pds/qiconloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ def __init__(self, pds = None, debug = False, forceCache = False):
self._forceCache = forceCache

# Get possible Data Directories
dataDirs = getenv('XDG_DATA_DIRS')
dataDirs = QFile.decodeName(getenv('XDG_DATA_DIRS'))
if dataDirs.isspace():
dataDirs = str('/usr/local/share/:/usr/share/')
dataDirs = '/usr/local/share/:/usr/share/'

dataDirs.str(QDir.homePath() + ":") + dataDirs
dataDirs.prepend(str(self.pds.config_path) + 'share:')
dataDirs = QDir.homePath() + ":" + dataDirs
dataDirs = str(self.pds.config_path) + 'share:' + dataDirs

if self.pds.session.ExtraDirs:
dirs = QFile.decodeName(
Expand Down

0 comments on commit 2faffa6

Please sign in to comment.