mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Some cleanup in switching of image source
This commit is contained in:
+5
-5
@@ -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
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user