1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-06 21:54:15 +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) void MyTabbedStackWidget::resizeEvent(QResizeEvent *event)
{ {
QWidget::resizeEvent(event); QWidget::resizeEvent(event);
m_listWidget->setFixedWidth(m_listWidget->verticalScrollBar()->isVisible() ? LIST_VIEW_WIDTH + 20 : LIST_VIEW_WIDTH); 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; static const int LIST_VIEW_WIDTH = 80;
protected: protected:
void resizeEvent(QResizeEvent * event); void resizeEvent(QResizeEvent *event);
}; };
#endif // MYTABBEDSTACKWIDGET_H #endif // MYTABBEDSTACKWIDGET_H