From 6d9653f4d1becfdd260f60c9177d5e3ca6dc56af Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 7 Nov 2008 19:07:48 +0000 Subject: gcc-4.3 support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@610 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/listwidget.cpp | 2 +- src/ui/skin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui') diff --git a/src/ui/listwidget.cpp b/src/ui/listwidget.cpp index 7238cb00f..a81a6098c 100644 --- a/src/ui/listwidget.cpp +++ b/src/ui/listwidget.cpp @@ -417,7 +417,7 @@ void ListWidget::mouseMoveEvent(QMouseEvent *e) if (INVALID_ROW != row) { SimpleSelection sel = m_model->getSelection(m_pressed_row); - if ((sel.m_top == 0 && m_scroll_direction == TOP) && sel.count() > 1 || + if (((sel.m_top == 0 && m_scroll_direction == TOP) && sel.count() > 1) || (sel.m_bottom == m_model->count() - 1 && m_scroll_direction == DOWN && sel.count() > 1) ) return; diff --git a/src/ui/skin.h b/src/ui/skin.h index 0e82aefd6..12b5bff23 100644 --- a/src/ui/skin.h +++ b/src/ui/skin.h @@ -68,7 +68,7 @@ public: * We need this to check if we have "-" in pixmaps. * if no we should draw it manually. */ - const uint getNumCount(void) const + uint getNumCount(void) const { return m_numbers.count(); } -- cgit v1.2.3-13-gbd6f