[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-09-12 13:03:02 +00:00
committed by WandererFan
parent a207d11fa4
commit e92ed45df9
435 changed files with 2669 additions and 2645 deletions

View File

@@ -52,7 +52,7 @@ public:
Module()
: Py::ExtensionModule<Module>("StartGui")
{
initialize("This module is the StartGui module.");// register with Python
initialize("This module is the StartGui module."); // register with Python
}
private:
@@ -63,7 +63,7 @@ PyObject* initModule()
return Base::Interpreter().addModule(new Module);
}
}// namespace StartGui
} // namespace StartGui
/* Python entry */

View File

@@ -65,6 +65,6 @@ private:
std::unique_ptr<Ui_DlgStartPreferencesAdvanced> ui;
};
}// namespace StartGui
} // namespace StartGui
#endif// STARTGUI_DLGSTARTPREFERENCESIMP_H
#endif // STARTGUI_DLGSTARTPREFERENCESIMP_H

View File

@@ -30,6 +30,6 @@
// Qt Toolkit
#include <QCoreApplication>
#endif//_PreComp_
#endif //_PreComp_
#endif// STARTGUI_PRECOMPILED_H
#endif // STARTGUI_PRECOMPILED_H

View File

@@ -159,7 +159,7 @@ Gui::ToolBarItem* StartGui::Workbench::setupCommandBars() const
Gui::DockWindowItems* StartGui::Workbench::setupDockWindows() const
{
Gui::DockWindowItems* root = Gui::StdWorkbench::setupDockWindows();
root->setVisibility(false); // hide all dock windows by default
root->setVisibility("Std_ComboView", true);// except of the combo view
root->setVisibility(false); // hide all dock windows by default
root->setVisibility("Std_ComboView", true); // except of the combo view
return root;
}

View File

@@ -57,7 +57,7 @@ protected:
/** Returns a DockWindowItems structure of dock windows this workbench. */
Gui::DockWindowItems* setupDockWindows() const override;
};// namespace StartGui
}; // namespace StartGui
}// namespace StartGui
#endif// START_WORKBENCH_H
} // namespace StartGui
#endif // START_WORKBENCH_H