summaryrefslogtreecommitdiff
path: root/control-image.c
diff options
context:
space:
mode:
Diffstat (limited to 'control-image.c')
-rw-r--r--control-image.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/control-image.c b/control-image.c
index aa11b4d..5f53a29 100644
--- a/control-image.c
+++ b/control-image.c
@@ -60,9 +60,6 @@ void cImageControl::SetSlideShow(cSlideShow * pNewSlideShow)
cImageControl::cImageControl(cSlideShow * pNewSlideShow)
: cControl(player = new cImagePlayer(pNewSlideShow))
, m_pCmdMenu(NULL)
-#ifdef HAVE_LIBEXIF
- , m_pExifMenu(NULL)
-#endif
, m_pDisplayReplay(NULL)
{
// Notity all cStatusMonitor
@@ -82,6 +79,8 @@ cImageControl::cImageControl(cSlideShow * pNewSlideShow)
m_nZoomFactor = 0;
m_nRealImageWidth = 0;
m_nRealImageHeight = 0;
+
+ OriginalImage(false);
}
@@ -139,13 +138,6 @@ void cImageControl::HideOSD(void)
m_pCmdMenu = NULL;
}
-#ifdef HAVE_LIBEXIF
- if(m_pExifMenu) {
- delete m_pExifMenu;
- m_pExifMenu = NULL;
- }
-#endif
-
}
//////////////////////////////////////////////////////////////////////////
/** Send Message if changed to any statusmonitor
@@ -316,13 +308,6 @@ eOSState cImageControl::ProcessKey(eKeys nKey)
{
return ProcessKeyCommands(nKey);
}
-#ifdef HAVE_LIBEXIF
- else if(m_pExifMenu
- || (m_ePlayMode != ePlayModeJump && (nKey == kInfo)))
- {
- return ProcessKeyExif(nKey);
- }
-#endif
else
{
switch(nKey)