summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cord-Landwehr <cordlandwehr@kde.org>2016-04-03 13:01:00 (GMT)
committerAndreas Cord-Landwehr <cordlandwehr@kde.org>2016-04-03 13:01:00 (GMT)
commit006dd0518bf59a89cb56a25777c287d523c362b1 (patch)
tree47c2c8d531a11fd481898caf0bc7cca8f32c244c
parent9cf9db11b1889419aba191c6655923779b31cda0 (diff)
UndoStack not required anymore.
-rw-r--r--src/tools/moleculeview.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tools/moleculeview.cpp b/src/tools/moleculeview.cpp
index d130810..3f13af4 100644
--- a/src/tools/moleculeview.cpp
+++ b/src/tools/moleculeview.cpp
@@ -22,7 +22,6 @@
#include <QFileInfo>
#include <QGLFormat>
-#include <QUndoStack>
#include <QSettings>
#include <QDebug>
#include <kfiledialog.h>
@@ -88,11 +87,6 @@ MoleculeDialog::MoleculeDialog(QWidget * parent)
ui.optimizeButton->setEnabled(false);
}
- // Need the undo stack even though we aren't using it just yet - atom deletion
- // doesn't work without it...
- QUndoStack* tmp = new QUndoStack(this);
-// ui.glWidget->setUndoStack(tmp);//FIXME:Avogadro2
-
// Set up the elements combo and bond order combo
elementCombo();
ui.bondCombo->addItem(i18n("Single"));