diff options
-rw-r--r-- | src/kmplayerapp.cpp | 3 | ||||
-rw-r--r-- | src/kmplayerview.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/kmplayerapp.cpp b/src/kmplayerapp.cpp index 1b61320..04fc980 100644 --- a/src/kmplayerapp.cpp +++ b/src/kmplayerapp.cpp @@ -1501,8 +1501,7 @@ KDE_NO_EXPORT void KMPlayerApp::slotStatusMsg (const TQString &text) { } KDE_NO_EXPORT void KMPlayerApp::fullScreen () { -// if (TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender ()))->metaObject ()->inherits ("TDEAction")) - if (TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender ()))->inherits ("TDEAction")) + if (sender()->inherits("TDEAction")) m_view->fullScreen(); #if KDE_IS_VERSION(3,1,90) viewFullscreen->setChecked (m_view->isFullScreen ()); diff --git a/src/kmplayerview.cpp b/src/kmplayerview.cpp index 3379c4b..46f4d8e 100644 --- a/src/kmplayerview.cpp +++ b/src/kmplayerview.cpp @@ -228,7 +228,7 @@ KDE_NO_EXPORT void View::init (TDEActionCollection * action_collection) { KDE_NO_CDTOR_EXPORT View::~View () { delete m_image; - if (TQT_BASE_OBJECT(m_view_area->parent ()) != TQT_BASE_OBJECT(this)) + if (m_view_area->parent() != this) delete m_view_area; } |