Remove some unused includes/macros; fix build (re. QPointer)

This commit is contained in:
Mike Gelfand 2015-07-30 06:55:28 +00:00
parent f592083f15
commit fd9c2c74f4
11 changed files with 7 additions and 20 deletions

View File

@ -7,7 +7,6 @@
* $Id$
*/
#include <cassert>
#include <ctime>
#include <iostream>

View File

@ -7,8 +7,6 @@
* $Id$
*/
#include <iostream>
#include <libtransmission/transmission.h>
#include <libtransmission/utils.h> // tr_formatter

View File

@ -8,7 +8,6 @@
*/
#include <cassert>
#include <iostream>
#include <QtGui>
#include <QCheckBox>
@ -44,8 +43,6 @@
#include "TorrentModel.h"
#include "Utils.h"
#define PREFS_KEY "prefs-key";
/**
* This is a proxy-style for that forces it to be always disabled.
@ -337,8 +334,6 @@ MainWindow::onSetPrefs (bool isChecked)
onSetPrefs ();
}
#define SHOW_KEY "show-mode"
void
MainWindow::initStatusBar ()
{

View File

@ -9,7 +9,6 @@
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <QDateTime>
#include <QDir>

View File

@ -7,9 +7,13 @@
* $Id$
*/
#ifdef _WIN32
#include <winsock2.h> // FD_SETSIZE
#else
#include <sys/select.h> // FD_SETSIZE
#endif
#include <cassert>
#include <climits> /* INT_MAX */
#include <iostream>
#include <QCheckBox>
#include <QComboBox>

View File

@ -7,9 +7,6 @@
* $Id$
*/
#include <iostream>
#include <QApplication>
#include <QFont>
#include <QFontMetrics>

View File

@ -7,8 +7,6 @@
* $Id$
*/
#include <iostream>
#include <QApplication>
#include <QBrush>
#include <QFont>

View File

@ -8,7 +8,6 @@
*/
#include <algorithm>
#include <iostream>
#include "Filters.h"
#include "Prefs.h"

View File

@ -7,7 +7,6 @@
* $Id$
*/
#include <cassert>
#include <iostream>
#include <libtransmission/transmission.h>

View File

@ -7,8 +7,6 @@
* $Id$
*/
#include <iostream>
#include <QAbstractTextDocumentLayout>
#include <QApplication>
#include <QPainter>

View File

@ -12,6 +12,7 @@
#include <cctype> // isxdigit()
#include <QPointer>
#include <QRect>
#include <QString>