Some cleanup in switching of image source

This commit is contained in:
Tats
2013-11-30 19:23:35 -05:00
parent 5a999f1983
commit 73d934b4d0
3 changed files with 12 additions and 10 deletions
+5 -5
View File
@@ -192,11 +192,11 @@ void MapperGLCanvas::paintEvent(QPaintEvent* /* event */)
updateGL();
}
void MapperGLCanvas::switchImage(int imageId)
{
MainWindow::getInstance().setPaint(imageId);
emit imageChanged();
}
//void MapperGLCanvas::switchImage(int imageId)
//{
// MainWindow::getInstance().setCurrentPaint(imageId);
// emit imageChanged();
//}
//QSize MapperGLCanvas::sizeHint() const
//{