Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
7a05ff18
Commit
7a05ff18
authored
Aug 04, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: PLModel: don't reset model on zoom
parent
b5a7969a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+0
-1
modules/gui/qt4/components/playlist/views.hpp
modules/gui/qt4/components/playlist/views.hpp
+1
-1
No files found.
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
7a05ff18
...
@@ -558,7 +558,6 @@ void StandardPLPanel::updateZoom( int i )
...
@@ -558,7 +558,6 @@ void StandardPLPanel::updateZoom( int i )
A_ZOOM
(
iconView
);
A_ZOOM
(
iconView
);
A_ZOOM
(
listView
);
A_ZOOM
(
listView
);
#undef A_ZOOM
#undef A_ZOOM
currentView
->
reset
();
}
}
void
StandardPLPanel
::
changeModel
(
bool
b_ml
)
void
StandardPLPanel
::
changeModel
(
bool
b_ml
)
...
...
modules/gui/qt4/components/playlist/views.hpp
View file @
7a05ff18
...
@@ -41,7 +41,7 @@ class AbstractPlViewItemDelegate : public QStyledItemDelegate
...
@@ -41,7 +41,7 @@ class AbstractPlViewItemDelegate : public QStyledItemDelegate
public:
public:
AbstractPlViewItemDelegate
(
QWidget
*
parent
=
0
)
:
QStyledItemDelegate
(
parent
)
{}
AbstractPlViewItemDelegate
(
QWidget
*
parent
=
0
)
:
QStyledItemDelegate
(
parent
)
{}
void
paintBackground
(
QPainter
*
,
const
QStyleOptionViewItem
&
,
const
QModelIndex
&
)
const
;
void
paintBackground
(
QPainter
*
,
const
QStyleOptionViewItem
&
,
const
QModelIndex
&
)
const
;
void
setZoom
(
int
z
)
{
i_zoom
=
z
;
};
void
setZoom
(
int
z
)
{
i_zoom
=
z
;
emit
sizeHintChanged
(
QModelIndex
()
);
};
protected:
protected:
int
i_zoom
;
int
i_zoom
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment