Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
6879a5ec
Commit
6879a5ec
authored
Mar 28, 2010
by
Jakob Leben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: fix updating of album art on BackgroundWidget
parent
e472ee3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+1
-6
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/interface_widgets.hpp
+0
-1
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
6879a5ec
...
...
@@ -291,12 +291,6 @@ BackgroundWidget::BackgroundWidget( intf_thread_t *_p_i )
this
,
updateArt
(
const
QString
&
)
);
}
void
BackgroundWidget
::
resizeEvent
(
QResizeEvent
*
event
)
{
updateArt
(
""
);
QWidget
::
resizeEvent
(
event
);
}
void
BackgroundWidget
::
updateArt
(
const
QString
&
url
)
{
if
(
!
url
.
isEmpty
()
)
...
...
@@ -310,6 +304,7 @@ void BackgroundWidget::updateArt( const QString& url )
else
pixmapUrl
=
QString
(
":/logo/vlc128.png"
);
}
update
();
}
void
BackgroundWidget
::
paintEvent
(
QPaintEvent
*
e
)
...
...
modules/gui/qt4/components/interface_widgets.hpp
View file @
6879a5ec
...
...
@@ -95,7 +95,6 @@ private:
bool
b_expandPixmap
;
virtual
void
contextMenuEvent
(
QContextMenuEvent
*
event
);
intf_thread_t
*
p_intf
;
virtual
void
resizeEvent
(
QResizeEvent
*
event
);
protected:
void
paintEvent
(
QPaintEvent
*
e
);
static
const
int
MARGIN
=
5
;
...
...
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