1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

uncrustification

This commit is contained in:
Corvus Corax 2014-01-15 18:47:47 +01:00
parent 9997f14d68
commit eb8d57cf31
3 changed files with 8 additions and 7 deletions

View File

@ -137,6 +137,7 @@ void MyTabbedStackWidget::showWidget(int index)
void MyTabbedStackWidget::resizeEvent(QResizeEvent *event)
{
QWidget::resizeEvent(event);
m_listWidget->setFixedWidth(m_listWidget->verticalScrollBar()->isVisible() ? LIST_VIEW_WIDTH + 20 : LIST_VIEW_WIDTH);
}

View File

@ -79,7 +79,7 @@ private:
static const int LIST_VIEW_WIDTH = 80;
protected:
void resizeEvent(QResizeEvent * event);
void resizeEvent(QResizeEvent *event);
};
#endif // MYTABBEDSTACKWIDGET_H

View File

@ -667,7 +667,7 @@ void ConfigTaskWidget::autoLoadWidgets()
forceShadowUpdates();
/*
foreach(WidgetBinding * binding, m_widgetBindingsPerObject) {
foreach(WidgetBinding * binding, m_widgetBindingsPerObject) {
if (binding->widget()) {
qDebug() << "Binding :" << binding->widget()->objectName();
qDebug() << " Object :" << binding->object()->getName();
@ -681,8 +681,8 @@ void ConfigTaskWidget::autoLoadWidgets()
qDebug() << " Scale :" << shadow->scale();
}
}
}
*/
}
*/
}
void ConfigTaskWidget::addWidgetToReloadGroups(QWidget *widget, QList<int> *reloadGroupIDs)
@ -1157,10 +1157,10 @@ void WidgetBinding::setValue(const QVariant &value)
{
m_value = value;
/*
if (m_object && m_field) {
if (m_object && m_field) {
qDebug() << "WidgetBinding" << m_object->getName() << ":" << m_field->getName() << "value =" << value.toString();
}
*/
}
*/
}
void WidgetBinding::updateObjectFieldFromValue()