Commit 59936cf7 authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Minor cleanup

parent 8d7af489
......@@ -183,9 +183,7 @@ void MoleculeDialog::loadMolecule(const QString &filename)
return;
}
qDebug() << "Filename to load: " << filename;
// workaround for missing copy-constructor: fixed in Avogadra2 > 0.9
// workaround for missing copy-constructor: fixed in Avogadro2 > 0.9
Avogadro::QtGui::Molecule tmpMol;
tmpMol = *IoWrapper::readMolecule(filename);
auto molecule = new Avogadro::QtGui::Molecule(tmpMol);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment