1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

uncrustification

This commit is contained in:
Corvus Corax 2013-12-07 15:25:15 +01:00
parent e8150399f6
commit 2f2cff3dc6
10 changed files with 44 additions and 46 deletions

View File

@ -93,5 +93,4 @@ void AboutDialog::openUrl(const QString &url)
} }
AboutDialog::~AboutDialog() AboutDialog::~AboutDialog()
{ {}
}

View File

@ -26,8 +26,7 @@
#include <QDialog> #include <QDialog>
class AboutDialog : public QDialog class AboutDialog : public QDialog {
{
Q_OBJECT Q_OBJECT
public: public:
@ -36,7 +35,6 @@ public:
public slots: public slots:
void openUrl(const QString &url); void openUrl(const QString &url);
}; };
#endif // ABOUTDIALOG_H #endif // ABOUTDIALOG_H

View File

@ -114,6 +114,7 @@ public:
QWidget *createEditor(QWidget *parent) QWidget *createEditor(QWidget *parent)
{ {
QComboBox *editor = new QComboBox(parent); QComboBox *editor = new QComboBox(parent);
// Setting ClickFocus lets the ComboBox stay open on Mac OSX. // Setting ClickFocus lets the ComboBox stay open on Mac OSX.
editor->setFocusPolicy(Qt::ClickFocus); editor->setFocusPolicy(Qt::ClickFocus);
foreach(QString option, m_enumOptions) foreach(QString option, m_enumOptions)