Gui: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 12:33:50 -05:00
parent f7edc74eee
commit 5df3dbae6f
57 changed files with 352 additions and 169 deletions

View File

@@ -443,7 +443,8 @@ void CallTipsList::extractTipsFromProperties(Py::Object& obj, QMap<QString, Call
App::PropertyContainerPy* cont = (App::PropertyContainerPy*)(obj.ptr());
App::PropertyContainer* container = cont->getPropertyContainerPtr();
// Make sure that the C++ object is alive
if (!container) return;
if (!container)
return;
std::map<std::string,App::Property*> Map;
container->getPropertyMap(Map);
@@ -689,7 +690,8 @@ bool CallTipsList::eventFilter(QObject * watched, QEvent * event)
void CallTipsList::callTipItemActivated(QListWidgetItem *item)
{
hide();
if (!item->isSelected()) return;
if (!item->isSelected())
return;
QString text = item->text();
QTextCursor cursor = textEdit->textCursor();