summaryrefslogtreecommitdiffstats
path: root/subsurface-gen-version.pri
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-12-06 18:30:05 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-06 13:21:24 -0800
commit61d5aac2e89f57d1ae86c370b0405835c1098c7e (patch)
tree514d1de205d071af0ff203cfa59f653ce3ee3a8b /subsurface-gen-version.pri
parentb04666922b9ca9c12007b9d5127a697b78e411b2 (diff)
downloadsubsurface-61d5aac2e89f57d1ae86c370b0405835c1098c7e.tar.gz
Do not change the current Directory
Qt has a really strange API for directories. when you create a QDir and set's the currentDir on *that* QDir you created, it's for the whole application and not just for that variable. Then when the variable is out of scope, the directory doesn't change back - ugh. The solution is not to call setCurrentDir on the newly created QDir (which was quite good since it's also a code cleanup. ) [Dirk Hohndel: modified to undo the far less elegant fix I had made in an earlier commit] Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-gen-version.pri')
0 files changed, 0 insertions, 0 deletions