Update saveSnapshot.cpp

resolve the issue "operands to ?: have different types 'QFileDialog::Option' and 'QFlag'" when compile with g++ 4.9  and Qt 5.3.1
Merge pull request #8 from mylxiaoyi/master

Update saveSnapshot.cpp