Fix theme loading problem
Fix theme loading problem

Error caused by any file named as current theme and placed to directory
which is used for starting Qt Creator (formely user home directory).
For example, create empty file with name 'default', place it to your
home directory (for example: /home/user) and run Qt Creator. As result
you will see black corrupted screen.

To fix this bug I add checks of theme name. Now Qt Creator will only
load theme from current directory if name is explicitly provided by
the user or it is an absolute path.

Change-Id: I0255c8d220d84bd5b51de7ef9d64c66f7f57959c
Reviewed-by: Orgad Shaneh <2b010cbad792a0c0a8175f752f93f83941fc6bc1@gmail.com>
Reviewed-by: Sergey Belyashov <8871b4c2d635fca691211507eadbac3d0bc2695a@gmail.com>
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@theqtcompany.com>

xianian/qt-creator,Distrotech/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,xianian/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,kuba1/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,danimo/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,danimo/qt-creator,danimo/qt-creator,danimo/qt-creator,Distrotech/qtcreator,danimo/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,kuba1/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,xianian/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,danimo/qt-creator,xianian/qt-creator