Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Oct 9, 2023
1 parent ca5137c commit b945974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avogadro/qtplugins/aligntool/aligntool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ using QtGui::RWAtom;

AlignTool::AlignTool(QObject* parent_)
: QtGui::ToolPlugin(parent_), m_activateAction(new QAction(this)),
m_molecule(nullptr), m_toolWidget(nullptr)
m_molecule(nullptr), m_toolWidget(nullptr), m_renderer(nullptr),
m_alignType(0), m_axis(0)
{
m_activateAction->setText(tr("Align"));
m_activateAction->setIcon(QIcon(":/icons/align.png"));
Expand Down Expand Up @@ -77,7 +78,6 @@ QWidget* AlignTool::toolWidget() const

// Combo box to select desired aixs to align to
QComboBox* comboAxis = new QComboBox(m_toolWidget);
m_axis = 0;
comboAxis->addItem("x");
comboAxis->addItem("y");
comboAxis->addItem("z");
Expand Down

0 comments on commit b945974

Please sign in to comment.