Changed: #1302 Fix typos in comments/code.
This commit is contained in:
parent
b0b2f3cdd6
commit
e404878ccc
3 changed files with 9 additions and 16 deletions
|
@ -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…
Reference in a new issue