deal with a warning
deal with another warning
use condition compile to deal with the mainwindow of other platforms except windows

(I didn't compile these codes in windows, to be tested)
Merge branch 'dev' of github.com:QSanguosha-Rara/QSanguosha-For-Hegemony into dev