diff --git a/src/Gui/DlgPreferencesImp.cpp b/src/Gui/DlgPreferencesImp.cpp index 22a2b84e5f..7ba798d8a3 100644 --- a/src/Gui/DlgPreferencesImp.cpp +++ b/src/Gui/DlgPreferencesImp.cpp @@ -22,8 +22,9 @@ #include "PreCompiled.h" #ifndef _PreComp_ -# include # include +# include + # include # include # include @@ -124,9 +125,11 @@ QTabWidget* DlgPreferencesImp::createTabForGroup(const std::string &groupName) item->setText(QObject::tr(groupNameQString.toLatin1())); item->setToolTip(QObject::tr(groupNameQString.toLatin1())); std::string fileName = groupName; - for (auto & ch : fileName) { - if (ch == ' ') ch = '_'; - else ch = tolower(ch); + for (auto &ch : fileName) { + if (ch == ' ') + ch = '_'; + else + ch = tolower(ch); } fileName = std::string("preferences-") + fileName; QPixmap icon = Gui::BitmapFactory().pixmapFromSvg(fileName.c_str(), QSize(48, 48));