SessionManager: Restore last session setting with dots
SessionManager: Restore last session setting with dots

As far as I can see the saved string was changed in May 2010 to not
store the filename but just the session name. Thus this code only worked
because completeBaseName() is the same if the name not contained a dot.

Task-number: QTCREATORBUG-8064
Change-Id: I59326282012ef46206da473a72d99a813f7a7ce7
Reviewed-by: Robert Loehning <1f928983f879a6fe326acd94487f754cc16e1fe4@digia.com>
Reviewed-by: Daniel Teske <d8a411aec9a206efedb4d45b75fe8d13f1e2b628@digia.com>

farseerri/git_code,richardmg/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,AltarBeastiful/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,danimo/qt-creator,AltarBeastiful/qt-creator,colede/qtcreator,Distrotech/qtcreator,darksylinc/qt-creator,duythanhphan/qt-creator,richardmg/qtcreator,farseerri/git_code,maui-packages/qt-creator,farseerri/git_code,kuba1/qtcreator,maui-packages/qt-creator,amyvmiwei/qt-creator,omniacreator/qtcreator,farseerri/git_code,Distrotech/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,duythanhphan/qt-creator,malikcjm/qtcreator,xianian/qt-creator,danimo/qt-creator,darksylinc/qt-creator,danimo/qt-creator,darksylinc/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,colede/qtcreator,colede/qtcreator,darksylinc/qt-creator,amyvmiwei/qt-creator,omniacreator/qtcreator,xianian/qt-creator,danimo/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,richardmg/qtcreator,kuba1/qtcreator,malikcjm/qtcreator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,malikcjm/qtcreator,richardmg/qtcreator,richardmg/qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,colede/qtcreator,darksylinc/qt-creator,malikcjm/qtcreator,danimo/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,kuba1/qtcreator,xianian/qt-creator,richardmg/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,xianian/qt-creator,farseerri/git_code,martyone/sailfish-qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,colede/qtcreator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,xianian/qt-creator,malikcjm/qtcreator,danimo/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,omniacreator/qtcreator,maui-packages/qt-creator,omniacreator/qtcreator,danimo/qt-creator,danimo/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,darksylinc/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,omniacreator/qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,kuba1/qtcreator,omniacreator/qtcreator,amyvmiwei/qt-creator,darksylinc/qt-creator,maui-packages/qt-creator,danimo/qt-creator,Distrotech/qtcreator,colede/qtcreator,malikcjm/qtcreator,kuba1/qtcreator,richardmg/qtcreator,malikcjm/qtcreator,farseerri/git_code,xianian/qt-creator,colede/qtcreator,omniacreator/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator