mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Removed unused updatePaint signal/slots.
This commit is contained in:
@@ -2116,9 +2116,6 @@ void MainWindow::addMappingItem(uid mappingId)
|
||||
connect(destinationCanvas, SIGNAL(shapeChanged(MShape*)),
|
||||
mapper.data(), SLOT(updateShape(MShape*)));
|
||||
|
||||
connect(this, SIGNAL(paintChanged()),
|
||||
mapper.data(), SLOT(updatePaint()));
|
||||
|
||||
// Switch to mapping tab.
|
||||
contentTab->setCurrentWidget(mappingSplitter);
|
||||
|
||||
|
||||
@@ -71,9 +71,6 @@ protected:
|
||||
void closeEvent(QCloseEvent *event);
|
||||
bool eventFilter(QObject *obj, QEvent *event);
|
||||
|
||||
signals:
|
||||
void paintChanged();
|
||||
|
||||
// Slots ////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
private slots:
|
||||
|
||||
|
||||
@@ -692,11 +692,6 @@ void Mapper::setValue(QtProperty* property, const QVariant& value)
|
||||
}
|
||||
}
|
||||
|
||||
void Mapper::updatePaint()
|
||||
{
|
||||
_mapping->getPaint()->update();
|
||||
}
|
||||
|
||||
void Mapper::_buildShapeProperty(QtProperty* shapeItem, MShape* shape)
|
||||
{
|
||||
for (int i=0; i<shape->nVertices(); i++)
|
||||
|
||||
Reference in New Issue
Block a user