ImageViewer: Remove class ImageViewerActionHandler.

Create the actions in ImageViewerPlugin and
use lambdas instead of a QSignalMapper.

Change-Id: Ic74622ca5e9daf6f0d367d00b709d732153dc62e
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
Friedemann Kleint
2016-03-15 14:18:20 +01:00
parent 3e040d4c3d
commit f393da3451
8 changed files with 80 additions and 215 deletions

View File

@@ -57,10 +57,5 @@ Core::IEditor *ImageViewerFactory::createEditor()
return new ImageViewer();
}
void ImageViewerFactory::extensionsInitialized()
{
m_actionHandler.createActions();
}
} // namespace Internal
} // namespace ImageViewer