diff --git a/src/createtorrent_imp.h b/src/createtorrent_imp.h index 7b3e10c53..d29a2f1b7 100644 --- a/src/createtorrent_imp.h +++ b/src/createtorrent_imp.h @@ -22,7 +22,6 @@ #ifndef CREATE_TORRENT_IMP_H #define CREATE_TORRENT_IMP_H -#include #include "ui_createtorrent.h" class createtorrent : public QDialog, private Ui::createTorrentDialog{ diff --git a/src/options_imp.cpp b/src/options_imp.cpp index 559f2e19a..527f4da2c 100644 --- a/src/options_imp.cpp +++ b/src/options_imp.cpp @@ -30,6 +30,7 @@ #include #include #include +#include #ifdef Q_WS_WIN #include #endif diff --git a/src/options_imp.h b/src/options_imp.h index 61d7634aa..b8520a0b9 100644 --- a/src/options_imp.h +++ b/src/options_imp.h @@ -22,9 +22,7 @@ #ifndef OPTIONS_IMP_H #define OPTIONS_IMP_H -#include #include "ui_options.h" -#include #include #define HTTP 0 @@ -34,6 +32,8 @@ using namespace libtorrent; +class QCloseEvent; + class options_imp : public QDialog, private Ui::Dialog{ Q_OBJECT