Changed: #1302 Fix typos in comments/code.

--HG--
branch : gsoc2011-worldeditorqt
This commit is contained in:
dnk-88 2011-07-30 21:56:21 +03:00
parent 55f7ee692f
commit c5dbe3cc82
3 changed files with 9 additions and 16 deletions

View file

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

View file

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