From c9735a611f5f50cb4ae342b6235a10c9a88579ce Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 16 Aug 2010 16:40:55 +0000 Subject: looks like QStyle::drawItemPixmap draws faster, just use it git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1829 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/playlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/playlist.h') diff --git a/src/ui/playlist.h b/src/ui/playlist.h index ae6ea520e..1fef98927 100644 --- a/src/ui/playlist.h +++ b/src/ui/playlist.h @@ -88,7 +88,7 @@ class PlayList : public QWidget private: void updatePositions(); QString formatTime (int sec); - void drawPixmap (int, int); + void drawPixmap (QPainter *painter, int x, int y, const QPixmap &pix); void writeSettings(); void createMenus(); void createActions(); -- cgit v1.2.3-13-gbd6f