diff --git a/src/gui/options_imp.cpp b/src/gui/options_imp.cpp index 084c1683d..0c56eb3ec 100644 --- a/src/gui/options_imp.cpp +++ b/src/gui/options_imp.cpp @@ -28,38 +28,38 @@ * Contact : chris@qbittorrent.org */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "options_imp.h" #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifndef QT_NO_OPENSSL +#include +#include +#endif + #include "app/application.h" -#include "base/preferences.h" -#include "base/utils/fs.h" -#include "base/scanfoldersmodel.h" #include "base/bittorrent/session.h" #include "base/net/dnsupdater.h" -#include "base/unicodestrings.h" +#include "base/preferences.h" +#include "base/scanfoldersmodel.h" #include "base/torrentfileguard.h" +#include "base/unicodestrings.h" +#include "base/utils/fs.h" +#include "addnewtorrentdialog.h" #include "advancedsettings.h" #include "guiiconprovider.h" #include "scanfoldersdelegate.h" -#include "addnewtorrentdialog.h" -#include "options_imp.h" - -#ifndef QT_NO_OPENSSL -#include -#include -#endif // Constructor options_imp::options_imp(QWidget *parent) diff --git a/src/gui/options_imp.h b/src/gui/options_imp.h index 1f89fb82a..6dd3706da 100644 --- a/src/gui/options_imp.h +++ b/src/gui/options_imp.h @@ -33,6 +33,9 @@ #include "ui_options.h" +class QCloseEvent; +class AdvancedSettings; + // actions on double-click on torrents enum DoubleClickAction { @@ -41,12 +44,6 @@ enum DoubleClickAction NO_ACTION }; -class AdvancedSettings; - -QT_BEGIN_NAMESPACE -class QCloseEvent; -QT_END_NAMESPACE - class options_imp: public QDialog, private Ui_Preferences { Q_OBJECT