summaryrefslogtreecommitdiffstats
path: root/src/pref.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-06 11:58:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-06 19:31:13 +0900
commite3fd6cf415c0b22b7ad86f8137c2dd71d6f6f917 (patch)
treec01906adb3e31306831bb6b35de1830070b052b8 /src/pref.cpp
parent51452f2e68ea3fba1776d125ce27416c90b544ec (diff)
downloadkmplayer-e3fd6cf415c0b22b7ad86f8137c2dd71d6f6f917.tar.gz
kmplayer-e3fd6cf415c0b22b7ad86f8137c2dd71d6f6f917.zip
Remove use of KDE_IS_VERSION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/pref.cpp')
-rw-r--r--src/pref.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/pref.cpp b/src/pref.cpp
index 4e28e3a..22592a1 100644
--- a/src/pref.cpp
+++ b/src/pref.cpp
@@ -504,13 +504,8 @@ TDE_NO_EXPORT void PrefRecordPage::playingStopped () {
if (!url->lineEdit()->text().isEmpty()) {
m_player->settings ()->recordfile = url->lineEdit()->text();
m_player->settings ()->replaytime = replaytime->text ().toInt ();
-#if KDE_IS_VERSION(3,1,90)
int id = recorder->selectedId ();
int replayid = replay->selectedId ();
-#else
- int id = recorder->id (recorder->selected ());
- int replayid = replay->id (replay->selectedId ());
-#endif
m_player->settings ()->recorder = Settings::Recorder (id);
m_player->settings ()->replayoption = Settings::ReplayOption (replayid);
for (RecorderPage * p = m_recorders; p; p = p->next)
@@ -561,11 +556,7 @@ TDE_NO_EXPORT void PrefMEncoderPage::formatClicked (int id) {
}
TDE_NO_EXPORT void PrefMEncoderPage::record () {
-#if KDE_IS_VERSION(3,1,90)
m_player->settings ()->recordcopy = !format->selectedId ();
-#else
- m_player->settings ()->recordcopy = !format->id (format->selected ());
-#endif
m_player->settings ()->mencoderarguments = arguments->text ();
RecorderPage::record ();
}