From ecc137abe40edc93062c8a62168fa7d1cf5dcc63 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 2 Nov 2009 18:23:26 +0000 Subject: added possibility to disable skin cursors git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1350 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/playlist.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/ui/playlist.cpp') diff --git a/src/ui/playlist.cpp b/src/ui/playlist.cpp index 5abe64510..985678bc2 100644 --- a/src/ui/playlist.cpp +++ b/src/ui/playlist.cpp @@ -51,10 +51,7 @@ PlayList::PlayList (QWidget *parent) m_update = FALSE; m_resize = FALSE; m_anchor_row = -1; - createMenus(); - - resize (275,116); setMinimumSize (275,116); setBaseSize (275,116); @@ -66,7 +63,7 @@ PlayList::PlayList (QWidget *parent) m_plslider->show(); setSizeIncrement (25,29); - m_skin = Skin::getPointer(); + m_skin = Skin::instance(); m_buttonAdd = new Button (this,Skin::PL_BT_ADD,Skin::PL_BT_ADD, Skin::CUR_PNORMAL); m_buttonAdd->move (11,86); @@ -377,7 +374,6 @@ void PlayList::mousePressEvent (QMouseEvent *e) if ((m_pos.x() > width()-25) && (m_pos.y() > height()-25)) { m_resize = TRUE; - // TODO if no skinned cursor, the cursor is the default arrow setCursor (m_skin->getCursor (Skin::CUR_PSIZE)); } else -- cgit v1.2.3-13-gbd6f