KitNode ctor is called with Kit *k=0 by design
KitNode ctor is called with Kit *k=0 by design

Check k before using it.

Change-Id: Ic240b7a60b0d2b89e209a795525097cd99c9518a
Reviewed-by: Tobias Hunger <012f8d714267bccc9d4766fbeace9f175fcc70c4@digia.com>

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