diff options
Diffstat (limited to 'src/plugins/Ui/skinned/listwidget.h')
| -rw-r--r-- | src/plugins/Ui/skinned/listwidget.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/Ui/skinned/listwidget.h b/src/plugins/Ui/skinned/listwidget.h index 9e019d630..abaa5fec8 100644 --- a/src/plugins/Ui/skinned/listwidget.h +++ b/src/plugins/Ui/skinned/listwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2017 by Ilya Kotov * + * Copyright (C) 2006-2018 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -109,18 +109,19 @@ private: * Returns string with queue number or(and) repeate flag for the item number \b i. */ const QString getExtraString(int i); - bool updateRowCount(); + void restoreFirstVisible(); bool m_update; int m_pressed_index; QMenu *m_menu; PlayListModel *m_model; - int m_row_count, m_first; + int m_row_count, m_first, m_count; //visible rows, first visible index, total item count + PlayListItem *m_firstItem; //first visible item Skin *m_skin; int m_anchor_index; /*! - * Scroll direction that is preforming in current moment. + * Scroll direction that is performing in current moment. */ ScrollDirection m_scroll_direction; int m_prev_y; |
