Changed: #1302 Fix typos in comments/code.

--HG--
branch : gsoc2011-worldeditorqt
hg/feature/sse2
dnk-88 13 years ago
parent 55f7ee692f
commit c5dbe3cc82

@ -45,8 +45,6 @@ PrimitivesView::PrimitivesView(QWidget *parent)
connect(m_deleteAction, SIGNAL(triggered()), this, SLOT(deletePrimitives())); connect(m_deleteAction, SIGNAL(triggered()), this, SLOT(deletePrimitives()));
connect(this, SIGNAL(clicked(QModelIndex)), this, SLOT(clickedItem(QModelIndex)));
#ifdef Q_OS_DARWIN #ifdef Q_OS_DARWIN
setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
#endif #endif
@ -62,10 +60,6 @@ void PrimitivesView::setModel(PrimitivesTreeModel *model)
m_primitivesTreeModel = model; m_primitivesTreeModel = model;
} }
void PrimitivesView::clickedItem(const QModelIndex &index)
{
}
void PrimitivesView::deletePrimitives() void PrimitivesView::deletePrimitives()
{ {
QModelIndexList indexList = selectionModel()->selectedRows(); QModelIndexList indexList = selectionModel()->selectedRows();

@ -51,7 +51,6 @@ public:
virtual void setModel(PrimitivesTreeModel *model); virtual void setModel(PrimitivesTreeModel *model);
private Q_SLOTS: private Q_SLOTS:
void clickedItem(const QModelIndex &index);
void deletePrimitives(); void deletePrimitives();
void addNewPrimitive(int value); void addNewPrimitive(int value);
void generatePrimitives(int value); void generatePrimitives(int value);

Loading…
Cancel
Save