Skip to content

Commit

Permalink
Fix compile error with Qt6
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Dec 13, 2024
1 parent 56d5456 commit 716b999
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion avogadro/qtplugins/alchemy/alchemy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <avogadro/core/elements.h>
#include <avogadro/qtgui/molecule.h>

#include <QAction>
#include <QtCore/QSettings>
#include <QtWidgets/QAction>
#include <QtWidgets/QDialog>
#include <QtWidgets/QInputDialog>

Expand Down
9 changes: 4 additions & 5 deletions avogadro/qtplugins/alchemy/alchemy.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/******************************************************************************
This source file is part of the Avogadro project.
This source code is released under the New BSD License, (the "License").
This source code is released under the 3-Clause BSD License, (see "LICENSE").
******************************************************************************/

#ifndef AVOGADRO_QTPLUGINS_BONDING_H
#define AVOGADRO_QTPLUGINS_BONDING_H
#ifndef AVOGADRO_QTPLUGINS_ALCHEMY_H
#define AVOGADRO_QTPLUGINS_ALCHEMY_H

#include <avogadro/core/avogadrocore.h>
#include <avogadro/qtgui/extensionplugin.h>
Expand Down Expand Up @@ -55,4 +54,4 @@ private slots:
} // namespace QtPlugins
} // namespace Avogadro

#endif // AVOGADRO_QTPLUGINS_BONDING_H
#endif // AVOGADRO_QTPLUGINS_ALCHEMY_H

0 comments on commit 716b999

Please sign in to comment.