cleanup: remove all useless #include <QDebug>

All Qt Headers already implicitly included it.
This commit is contained in:
shenleban tongying 2023-03-21 05:53:17 -04:00 committed by xiaoyifang
parent 13add70db2
commit 32304d4b15
24 changed files with 0 additions and 24 deletions

1
bgl.cc
View file

@ -29,7 +29,6 @@
#include <QSemaphore> #include <QSemaphore>
#include <QThreadPool> #include <QThreadPool>
#include <QAtomicInt> #include <QAtomicInt>
#include <QDebug>
#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0)) #if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
#include <QtCore5Compat/QRegExp> #include <QtCore5Compat/QRegExp>

View file

@ -33,7 +33,6 @@
#include "iconv.hh" #include "iconv.hh"
#include "htmlescape.hh" #include "htmlescape.hh"
#include <QString> #include <QString>
#include <QDebug>
#include "dictionary.hh" #include "dictionary.hh"
#include "wstring_qt.hh" #include "wstring_qt.hh"

View file

@ -20,7 +20,6 @@
#include "ftshelpers.hh" #include "ftshelpers.hh"
#include <QUrl> #include <QUrl>
#include <QDebug>
#include <QRegularExpression> #include <QRegularExpression>

View file

@ -6,7 +6,6 @@
#include <QProcess> #include <QProcess>
#include "gddebug.hh" #include "gddebug.hh"
#include "fsencoding.hh" #include "fsencoding.hh"
#include <QDebug>
using std::vector; using std::vector;

View file

@ -1,7 +1,6 @@
/* This file is (c) 2017 Abs62 /* This file is (c) 2017 Abs62
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */ * Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
#include <QDebug>
#include <QApplication> #include <QApplication>
#include <QDockWidget> #include <QDockWidget>
#include <QKeyEvent> #include <QKeyEvent>

View file

@ -15,7 +15,6 @@ extern "C" {
#include <QString> #include <QString>
#include <QDataStream> #include <QDataStream>
#include <QDebug>
#include <vector> #include <vector>
#if( QT_VERSION >= QT_VERSION_CHECK( 6, 2, 0 ) ) #if( QT_VERSION >= QT_VERSION_CHECK( 6, 2, 0 ) )

View file

@ -7,7 +7,6 @@
#include <QWidget> #include <QWidget>
#include <QToolButton> #include <QToolButton>
#include <QDebug>
GdAppStyle::GdAppStyle(QProxyStyle * parent) : QProxyStyle(parent) {} GdAppStyle::GdAppStyle(QProxyStyle * parent) : QProxyStyle(parent) {}

View file

@ -5,7 +5,6 @@
#include "config.hh" #include "config.hh"
#include "atomic_rename.hh" #include "atomic_rename.hh"
#include <QFile> #include <QFile>
#include <QDebug>
History::History( unsigned size, unsigned maxItemLength_ ): maxSize( size ), History::History( unsigned size, unsigned maxItemLength_ ): maxSize( size ),
maxItemLength( maxItemLength_ ), addingEnabled( true ) maxItemLength( maxItemLength_ ), addingEnabled( true )

View file

@ -1,7 +1,6 @@
/* This file is (c) 2013 Tvangeste <i.4m.l33t@yandex.ru> /* This file is (c) 2013 Tvangeste <i.4m.l33t@yandex.ru>
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */ * Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
#include <QDebug>
#include <QApplication> #include <QApplication>
#include <QDockWidget> #include <QDockWidget>
#include <QKeyEvent> #include <QKeyEvent>

View file

@ -5,7 +5,6 @@
#include <vector> #include <vector>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include <QDebug>
#include "wstring_qt.hh" #include "wstring_qt.hh"
char const * const Iconv::GdWchar = "UTF-32LE"; char const * const Iconv::GdWchar = "UTF-32LE";

View file

@ -13,7 +13,6 @@
#else #else
#include <QTextCodec> #include <QTextCodec>
#endif #endif
#include <QDebug>
using namespace BtreeIndexing; using namespace BtreeIndexing;
using std::vector; using std::vector;

1
lsa.cc
View file

@ -22,7 +22,6 @@
#include <vorbis/vorbisfile.h> #include <vorbis/vorbisfile.h>
#include <QDir> #include <QDir>
#include <QUrl> #include <QUrl>
#include <QDebug>
#include <QFile> #include <QFile>
#include "utils.hh" #include "utils.hh"

View file

@ -28,7 +28,6 @@
#include "atomic_rename.hh" #include "atomic_rename.hh"
#include <QtWebEngineCore/QWebEngineUrlScheme> #include <QtWebEngineCore/QWebEngineUrlScheme>
#include <QMessageBox> #include <QMessageBox>
#include <QDebug>
#include <QFile> #include <QFile>
#include <QByteArray> #include <QByteArray>
#include <QString> #include <QString>

View file

@ -6,7 +6,6 @@
#include <Qt> #include <Qt>
#include <QFrame> #include <QFrame>
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QDebug>
#include <QEvent> #include <QEvent>
#include <QApplication> #include <QApplication>

View file

@ -2,7 +2,6 @@
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */ * Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
#include "maintabwidget.hh" #include "maintabwidget.hh"
#include <QDebug>
#include <QEvent> #include <QEvent>
#include <QMouseEvent> #include <QMouseEvent>

View file

@ -26,7 +26,6 @@
#include <QSemaphore> #include <QSemaphore>
#include <QThreadPool> #include <QThreadPool>
#include <QAtomicInt> #include <QAtomicInt>
#include <QDebug>
#include <QRegExp> #include <QRegExp>
#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0)) #if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
#include <QtCore5Compat> #include <QtCore5Compat>

View file

@ -17,7 +17,6 @@
#include <set> #include <set>
#include <QDir> #include <QDir>
#include <QFileInfo> #include <QFileInfo>
#include <QDebug>
namespace SoundDir { namespace SoundDir {

View file

@ -41,7 +41,6 @@
#include <QSemaphore> #include <QSemaphore>
#include <QThreadPool> #include <QThreadPool>
#include <QAtomicInt> #include <QAtomicInt>
#include <QDebug>
#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0)) #if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
#include <QtCore5Compat/QRegExp> #include <QtCore5Compat/QRegExp>
#else #else

View file

@ -8,7 +8,6 @@
#include <QEvent> #include <QEvent>
#include <QKeyEvent> #include <QKeyEvent>
#include <QApplication> #include <QApplication>
#include <QDebug>
#include <QModelIndex> #include <QModelIndex>
#include <QScrollBar> #include <QScrollBar>
#include <QStyle> #include <QStyle>

View file

@ -1,7 +1,6 @@
/* This file is (c) 2013 Tvangeste <i.4m.l33t@yandex.ru> /* This file is (c) 2013 Tvangeste <i.4m.l33t@yandex.ru>
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */ * Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
#include <QDebug>
#include "wordlist.hh" #include "wordlist.hh"

View file

@ -37,7 +37,6 @@
#include <QFileInfo> #include <QFileInfo>
#include <QDir> #include <QDir>
#include <QPainter> #include <QPainter>
#include <QDebug>
#include <QRegExp> #include <QRegExp>
#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0)) #if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
#include <QtCore5Compat> #include <QtCore5Compat>

View file

@ -13,7 +13,6 @@
#include "filetype.hh" #include "filetype.hh"
#include "htmlescape.hh" #include "htmlescape.hh"
#include "utils.hh" #include "utils.hh"
#include <QDebug>
#include "xdxf.hh" #include "xdxf.hh"
#include <QRegularExpression> #include <QRegularExpression>

1
zim.cc
View file

@ -33,7 +33,6 @@
#include <QAtomicInt> #include <QAtomicInt>
#include <QImage> #include <QImage>
#include <QDir> #include <QDir>
#include <QDebug>
#include <QRegularExpression> #include <QRegularExpression>

View file

@ -18,7 +18,6 @@
#include <string> #include <string>
#include <QFile> #include <QFile>
#include <QDir> #include <QDir>
#include <QDebug>
#ifdef _MSC_VER #ifdef _MSC_VER
#include <stub_msvc.h> #include <stub_msvc.h>