diff options
Diffstat (limited to 'src/kmplayerview.cpp')
-rw-r--r-- | src/kmplayerview.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/kmplayerview.cpp b/src/kmplayerview.cpp index 0696826..61b5dfa 100644 --- a/src/kmplayerview.cpp +++ b/src/kmplayerview.cpp @@ -599,27 +599,12 @@ bool View::isFullScreen () const { void View::fullScreen () { if (!m_view_area->isFullScreen()) { - m_sreensaver_disabled = false; - TQByteArray data, replydata; - TQCString replyType; - if (kapp->dcopClient ()->call ("kdesktop", "KScreensaverIface", - "isEnabled()", data, replyType, replydata)) { - bool enabled; - TQDataStream replystream (replydata, IO_ReadOnly); - replystream >> enabled; - if (enabled) - m_sreensaver_disabled = kapp->dcopClient()->send - ("kdesktop", "KScreensaverIface", "enable(bool)", TQString("false")); - } //if (m_keepsizeratio && m_viewer->aspect () < 0.01) // m_viewer->setAspect (1.0 * m_viewer->width() / m_viewer->height()); m_view_area->fullScreen(); m_control_panel->popupMenu ()->setItemVisible (ControlPanel::menu_zoom, false); m_widgetstack->visibleWidget ()->setFocus (); } else { - if (m_sreensaver_disabled) - m_sreensaver_disabled = !kapp->dcopClient()->send - ("kdesktop", "KScreensaverIface", "enable(bool)", TQString("true")); m_view_area->fullScreen(); m_control_panel->popupMenu ()->setItemVisible (ControlPanel::menu_zoom, true); } |