Remove some unused includes/macros; fix build (re. QPointer)
This commit is contained in:
parent
f592083f15
commit
fd9c2c74f4
|
@ -7,7 +7,6 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
#include <ctime>
|
||||
#include <iostream>
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
#include <libtransmission/utils.h> // tr_formatter
|
||||
|
||||
|
|
|
@ -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 ()
|
||||
{
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QDir>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QFont>
|
||||
#include <QFontMetrics>
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QBrush>
|
||||
#include <QFont>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
*/
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
#include "Filters.h"
|
||||
#include "Prefs.h"
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <QAbstractTextDocumentLayout>
|
||||
#include <QApplication>
|
||||
#include <QPainter>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include <cctype> // isxdigit()
|
||||
|
||||
#include <QPointer>
|
||||
#include <QRect>
|
||||
#include <QString>
|
||||
|
||||
|
|
Loading…
Reference in New Issue