diff options
author | se <se@FreeBSD.org> | 2003-11-09 02:32:56 +0800 |
---|---|---|
committer | se <se@FreeBSD.org> | 2003-11-09 02:32:56 +0800 |
commit | acbcfc9c79fedf0aa158bf8d01bf0536e2a963c9 (patch) | |
tree | 36e782e600359615809d1c4341e06fccf0d761c1 /multimedia/kplayer-kde4/files | |
parent | 80a7fec8bbff1adbee73282a57e43cd2f6d9c463 (diff) | |
download | freebsd-ports-gnome-acbcfc9c79fedf0aa158bf8d01bf0536e2a963c9.tar.gz freebsd-ports-gnome-acbcfc9c79fedf0aa158bf8d01bf0536e2a963c9.tar.zst freebsd-ports-gnome-acbcfc9c79fedf0aa158bf8d01bf0536e2a963c9.zip |
Upgrade to version 0.4.0.
Diffstat (limited to 'multimedia/kplayer-kde4/files')
-rw-r--r-- | multimedia/kplayer-kde4/files/patch-kplayer.cpp | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/multimedia/kplayer-kde4/files/patch-kplayer.cpp b/multimedia/kplayer-kde4/files/patch-kplayer.cpp deleted file mode 100644 index b5e50da0b4da..000000000000 --- a/multimedia/kplayer-kde4/files/patch-kplayer.cpp +++ /dev/null @@ -1,76 +0,0 @@ ---- kplayer/kplayer.cpp~ Sat Jul 26 15:49:07 2003 -+++ kplayer/kplayer.cpp Sun Aug 3 10:36:45 2003 -@@ -395,7 +395,7 @@ - setSaturation (value); - if ( kPlayerProcess() -> length() > 0 ) - sliderAction ("player_progress") -> slider() -> -- setPageStep (int (roundf (kPlayerProcess() -> length() * settings -> progressMarks()))); -+ setPageStep (int (rintf (kPlayerProcess() -> length() * settings -> progressMarks()))); - QApplication::postEvent (this, new QEvent (QEvent::LayoutHint)); - //layout() -> activate(); - recentFilesAction() -> setMaxItems (settings -> recentFileListSize()); -@@ -1192,7 +1192,7 @@ - KPlayerSettings* settings = kPlayerSettings(); - int seek = settings -> progressNormalSeekUnits() ? settings -> progressNormalSeek() : - kPlayerProcess() -> length() == 0 ? 10 : -- int (roundf (kPlayerProcess() -> length() * settings -> progressNormalSeek() / 100)); -+ int (rintf (kPlayerProcess() -> length() * settings -> progressNormalSeek() / 100)); - if ( seek == 0 ) - seek = 1; - kPlayerProcess() -> relativeSeek (seek); -@@ -1203,7 +1203,7 @@ - KPlayerSettings* settings = kPlayerSettings(); - int seek = settings -> progressFastSeekUnits() ? settings -> progressFastSeek() : - kPlayerProcess() -> length() == 0 ? 60 : -- int (roundf (kPlayerProcess() -> length() * settings -> progressFastSeek() / 100)); -+ int (rintf (kPlayerProcess() -> length() * settings -> progressFastSeek() / 100)); - if ( seek == 0 ) - seek = 2; - kPlayerProcess() -> relativeSeek (seek); -@@ -1214,7 +1214,7 @@ - KPlayerSettings* settings = kPlayerSettings(); - int seek = settings -> progressNormalSeekUnits() ? settings -> progressNormalSeek() : - kPlayerProcess() -> length() == 0 ? 10 : -- int (roundf (kPlayerProcess() -> length() * settings -> progressNormalSeek() / 100)); -+ int (rintf (kPlayerProcess() -> length() * settings -> progressNormalSeek() / 100)); - if ( seek == 0 ) - seek = 1; - kPlayerProcess() -> relativeSeek (- seek); -@@ -1225,7 +1225,7 @@ - KPlayerSettings* settings = kPlayerSettings(); - int seek = settings -> progressFastSeekUnits() ? settings -> progressFastSeek() : - kPlayerProcess() -> length() == 0 ? 60 : -- int (roundf (kPlayerProcess() -> length() * settings -> progressFastSeek() / 100)); -+ int (rintf (kPlayerProcess() -> length() * settings -> progressFastSeek() / 100)); - if ( seek == 0 ) - seek = 2; - kPlayerProcess() -> relativeSeek (- seek); -@@ -1586,7 +1586,7 @@ - return; - kdDebug() << "Seek to " << progress << ": " << kPlayerProcess() -> position() << " => " << ((progress + 50) / 100) << " / " << kPlayerProcess() -> length() << "\n"; - kPlayerProcess() -> absoluteSeek ((progress + 50) / 100); --/*int seek = int (roundf (float (progress) / 100 - kPlayerProcess() -> position())); -+/*int seek = int (rintf (float (progress) / 100 - kPlayerProcess() -> position())); - if ( seek == 0 ) - return; - kPlayerProcess() -> relativeSeek (seek);*/ -@@ -1714,7 +1714,7 @@ - int maxValue = slider -> maxValue(); - if ( maxValue ) - { -- int value = int (roundf (progress * 100)); -+ int value = int (rintf (progress * 100)); - if ( value > maxValue ) - slider -> setMaxValue (value); - slider -> setValue (value); -@@ -1757,8 +1757,8 @@ - KPlayerSettings* settings = kPlayerSettings(); - kdDebug() << "Info available. Detected length: " << kPlayerProcess() -> length() << "\n"; - KPlayerSlider* slider = sliderAction ("player_progress") -> slider(); -- slider -> setMaxValue (int (roundf (kPlayerProcess() -> length() * 100))); -- slider -> setPageStep (int (roundf (kPlayerProcess() -> length() * settings -> progressMarks()))); -+ slider -> setMaxValue (int (rintf (kPlayerProcess() -> length() * 100))); -+ slider -> setPageStep (int (rintf (kPlayerProcess() -> length() * settings -> progressMarks()))); - enablePlayerActions(); - } - |