Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
1eba2bb0
Commit
1eba2bb0
authored
Jan 06, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merged
parent
86f30482
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
UBTeacherBarWidget.cpp
src/gui/UBTeacherBarWidget.cpp
+4
-2
No files found.
src/gui/UBTeacherBarWidget.cpp
View file @
1eba2bb0
...
...
@@ -356,6 +356,7 @@ void UBTeacherBarWidget::loadContent()
// Update the fields of the preview widget
mpPreview
->
setTitle
(
mpTitle
->
text
());
mpPreview
->
mediaViewer
()
->
loadMedia
(
nextInfos
.
medias
);
mpStackWidget
->
setCurrentWidget
(
mpPreview
);
if
(
mpDuration1
->
isChecked
()){
mpPreview
->
setDuration
(
eDuration_Quarter
);
...
...
@@ -366,6 +367,9 @@ void UBTeacherBarWidget::loadContent()
}
}
// this is always done becasue it allows to clean the media on
// changing the page
mpPreview
->
mediaViewer
()
->
loadMedia
(
nextInfos
.
medias
);
}
bool
UBTeacherBarWidget
::
isEmpty
()
...
...
@@ -829,8 +833,6 @@ UBTeacherBarPreviewMedia::~UBTeacherBarPreviewMedia()
void
UBTeacherBarPreviewMedia
::
loadMedia
(
QStringList
pMedias
)
{
foreach
(
QWidget
*
eachWidget
,
mWidgetList
.
keys
())
delete
eachWidget
;
mWidgetList
.
clear
();
foreach
(
QString
eachString
,
pMedias
){
if
(
!
eachString
.
isEmpty
()){
...
...
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