Remove unused code in apps/opencs/view/world/table files

coverity_scan
Rob Cutmore 9 years ago
parent 1b7a0e5d64
commit 4caf44f061

@ -2,7 +2,6 @@
#include <QHeaderView> #include <QHeaderView>
#include <QAction> #include <QAction>
#include <QApplication>
#include <QMenu> #include <QMenu>
#include <QContextMenuEvent> #include <QContextMenuEvent>
#include <QString> #include <QString>
@ -12,7 +11,6 @@
#include "../../model/doc/document.hpp" #include "../../model/doc/document.hpp"
#include "../../model/world/data.hpp"
#include "../../model/world/commands.hpp" #include "../../model/world/commands.hpp"
#include "../../model/world/infotableproxymodel.hpp" #include "../../model/world/infotableproxymodel.hpp"
#include "../../model/world/idtableproxymodel.hpp" #include "../../model/world/idtableproxymodel.hpp"
@ -20,13 +18,10 @@
#include "../../model/world/idtable.hpp" #include "../../model/world/idtable.hpp"
#include "../../model/world/record.hpp" #include "../../model/world/record.hpp"
#include "../../model/world/columns.hpp" #include "../../model/world/columns.hpp"
#include "../../model/world/tablemimedata.hpp"
#include "../../model/world/tablemimedata.hpp"
#include "../../model/world/commanddispatcher.hpp" #include "../../model/world/commanddispatcher.hpp"
#include "../../model/prefs/state.hpp" #include "../../model/prefs/state.hpp"
#include "recordstatusdelegate.hpp"
#include "tableeditidaction.hpp" #include "tableeditidaction.hpp"
#include "util.hpp" #include "util.hpp"
@ -339,8 +334,6 @@ CSVWorld::Table::Table (const CSMWorld::UniversalId& id,
connect (mProxyModel, SIGNAL (rowsRemoved (const QModelIndex&, int, int)), connect (mProxyModel, SIGNAL (rowsRemoved (const QModelIndex&, int, int)),
this, SLOT (tableSizeUpdate())); this, SLOT (tableSizeUpdate()));
//connect (mProxyModel, SIGNAL (rowsInserted (const QModelIndex&, int, int)),
// this, SLOT (rowsInsertedEvent(const QModelIndex&, int, int)));
connect (mProxyModel, SIGNAL (rowAdded (const std::string &)), connect (mProxyModel, SIGNAL (rowAdded (const std::string &)),
this, SLOT (rowAdded (const std::string &))); this, SLOT (rowAdded (const std::string &)));

@ -11,7 +11,6 @@
#include "../../model/world/universalid.hpp" #include "../../model/world/universalid.hpp"
#include "dragrecordtable.hpp" #include "dragrecordtable.hpp"
class QUndoStack;
class QAction; class QAction;
namespace CSMDoc namespace CSMDoc
@ -21,7 +20,6 @@ namespace CSMDoc
namespace CSMWorld namespace CSMWorld
{ {
class Data;
class IdTableProxyModel; class IdTableProxyModel;
class IdTableBase; class IdTableBase;
class CommandDispatcher; class CommandDispatcher;

Loading…
Cancel
Save