File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ MainWindow::MainWindow()
53
53
: m_aboutDlg(new Dialogs::AboutDialog(this ))
54
54
, m_settingsDlg(new Dialogs::SettingsDialog(this ))
55
55
, m_spinnerDlg(new Dialogs::SpinnerDialog(this ))
56
- , m_toolBar(new Menus::ToolBar( this ) )
56
+ , m_toolBar(new Menus::ToolBar)
57
57
, m_whatsNewDlg(new Dialogs::WhatsNewDialog(this ))
58
58
, m_connectSelectedNodesAction(new QAction(tr(" Connect selected nodes" ), this))
59
59
, m_disconnectSelectedNodesAction(new QAction(tr(" Disconnect selected nodes" ), this))
Original file line number Diff line number Diff line change 33
33
34
34
namespace Menus {
35
35
36
- ToolBar::ToolBar (QWidget * parent)
37
- : QToolBar(parent)
38
- , m_autoSnapCheckBox(new QCheckBox(tr(" Auto snap" ), this ))
36
+ ToolBar::ToolBar ()
37
+ : m_autoSnapCheckBox(new QCheckBox(tr(" Auto snap" ), this ))
39
38
, m_copyOnDragCheckBox(new QCheckBox(tr(" Copy on drag" ), this ))
40
39
, m_cornerRadiusSpinBox(new QSpinBox(this ))
41
40
, m_arrowSizeSpinBox(new QDoubleSpinBox(this ))
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class ToolBar : public QToolBar
39
39
Q_OBJECT
40
40
41
41
public:
42
- ToolBar (QWidget * parent = nullptr );
42
+ ToolBar ();
43
43
44
44
bool autoSnapEnabled () const ;
45
45
You can’t perform that action at this time.
0 commit comments