Update main_controller.cpp
Merge pull request #19 from lmq3342xja/master

Fix: set QSettings encoding type