Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Commit

Permalink
Fixed indentation, removed unused variable added
Browse files Browse the repository at this point in the history
Change-Id: Idec3f5312c5dbb0910f9a00daffcf4d74f6e8fa1
  • Loading branch information
cryos committed Aug 27, 2012
1 parent 0949d41 commit 893df09
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions libavogadro/src/extensions/insertfragmentdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ namespace Avogadro {
if (!dir.exists() || !dir.isReadable() ) {
qWarning() << "Cannot find the directory: " << m_directory;

// Can't really do anything!
ui.directoryTreeView->setEnabled(false);
ui.insertFragmentButton->setEnabled(false);
ui.filterLineEdit->setEnabled(false);
ui.clearToolButton->setEnabled(false);
// Can't really do anything!
ui.directoryTreeView->setEnabled(false);
ui.insertFragmentButton->setEnabled(false);
ui.filterLineEdit->setEnabled(false);
ui.clearToolButton->setEnabled(false);

return;
return;
}

d->model = new QFileSystemModel(this);
Expand Down Expand Up @@ -177,7 +177,6 @@ namespace Avogadro {
if (fileInfo.isDir())
return d->fragment; // return an empty fragment and do nothing

OBMol obfragment;
Molecule *mol;
if (d->crystalFiles) {
// No bonding, at first
Expand Down

0 comments on commit 893df09

Please sign in to comment.