Fwk : Fixed typo

This commit is contained in:
Magne Sjaastad
2015-11-23 13:29:11 +01:00
parent 2ae92c6a18
commit 469ffdf920
2 changed files with 7 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ caf::Viewer::Viewer(const QGLFormat& format, QWidget* parent)
m_releaseOGLResourcesEachFrame(false),
m_paintCounter(0),
m_navigationPolicyEnabled(true),
m_isOverlyPaintingEnabled(true)
m_isOverlayPaintingEnabled(true)
{
m_layoutWidget = parentWidget();
@@ -421,7 +421,7 @@ void caf::Viewer::paintEvent(QPaintEvent* event)
// If Qt overlay painting is enabled, paint to an QImage, and set it to the cvf::OverlayImage
if (m_isOverlyPaintingEnabled || m_showPerfInfoHud)
if (m_isOverlayPaintingEnabled || m_showPerfInfoHud)
{
// Set up image to draw to, and painter
if (m_overlayPaintingQImage.size() != this->size())
@@ -434,7 +434,7 @@ void caf::Viewer::paintEvent(QPaintEvent* event)
// Call virtual method to allow subclasses to paint on the OpenGlCanvas
if (m_isOverlyPaintingEnabled)
if (m_isOverlayPaintingEnabled)
{
this->paintOverlayItems(&overlyPainter);
}
@@ -785,7 +785,7 @@ int caf::Viewer::currentFrameIndex()
//--------------------------------------------------------------------------------------------------
bool caf::Viewer::isOverlyPaintingEnabled() const
{
return m_isOverlyPaintingEnabled;
return m_isOverlayPaintingEnabled;
}
//--------------------------------------------------------------------------------------------------
@@ -793,7 +793,7 @@ bool caf::Viewer::isOverlyPaintingEnabled() const
//--------------------------------------------------------------------------------------------------
void caf::Viewer::enableOverlyPainting(bool val)
{
m_isOverlyPaintingEnabled = val;
m_isOverlayPaintingEnabled = val;
updateOverlayImagePresence();
}
@@ -802,7 +802,7 @@ void caf::Viewer::enableOverlyPainting(bool val)
//--------------------------------------------------------------------------------------------------
void caf::Viewer::updateOverlayImagePresence()
{
if (m_isOverlyPaintingEnabled || m_showPerfInfoHud)
if (m_isOverlayPaintingEnabled || m_showPerfInfoHud)
{
m_mainRendering->addOverlayItem(m_overlayImage.p());
}

View File

@@ -191,7 +191,7 @@ private:
bool m_releaseOGLResourcesEachFrame;
QPointer<QWidget> m_layoutWidget;
bool m_isOverlyPaintingEnabled;
bool m_isOverlayPaintingEnabled;
cvf::ref<cvf::TextureImage> m_overlayTextureImage;
cvf::ref<cvf::OverlayImage> m_overlayImage;
QImage m_overlayPaintingQImage;