aboutsummaryrefslogtreecommitdiffstats
path: root/qtserialbluetooth.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-10-06 19:01:00 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-07 07:56:44 +0100
commitd120755d15b633ee1fe962672ace1493a40e361e (patch)
treec2828a57c83aaba55118ffe17ce73ba440476144 /qtserialbluetooth.cpp
parent4eb0c77d8578190efbd8fa10ed6665968e1a4379 (diff)
downloadsubsurface-d120755d15b633ee1fe962672ace1493a40e361e.tar.gz
Simplify code
Do not call the setAttributte *everytime* the Preferences is called, call it once on the constructor. Also, no need to call the LanguageModel::instance() on the instance method, it will be already called on the constructor it seems that it's a leftover from a long while. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qtserialbluetooth.cpp')
0 files changed, 0 insertions, 0 deletions