blob: 51113d5d2a5f995602f74989223b51ad0e0208fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff -Naur kdemultimedia-4.6.5.orig/mplayerthumbs/src/videopreview.cpp kdemultimedia-4.6.5/mplayerthumbs/src/videopreview.cpp
--- kdemultimedia-4.6.5.orig/mplayerthumbs/src/videopreview.cpp 2009-05-14 19:27:36.000000000 +0200
+++ kdemultimedia-4.6.5/mplayerthumbs/src/videopreview.cpp 2010-01-16 00:43:05.000000000 +0100
@@ -91,8 +91,13 @@
else
sprocket = QPixmap(KStandardDirs::locate( "data", "videothumbnail/sprocket-large.png" ));
- for (int y = 0; y < pix.height() + sprocket.height(); y += sprocket.height()) {
- painter.drawPixmap( 0, y, sprocket );
+// for (int y = 0; y < pix.height() + sprocket.height(); y += sprocket.height()) {
+// painter.drawPixmap( 0, y, sprocket );
+// }
+
+ for (int x = 0; x < pix.width() + sprocket.width(); x += sprocket.width()) {
+ painter.drawPixmap( x, 0, sprocket );
+ painter.drawPixmap( x, (pix.height() - sprocket.height()), sprocket );
}
}
// End of xine-artsplugin code
|