Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
5757fc59
Commit
5757fc59
authored
Jan 14, 2010
by
Geoffroy Lacarriere
Browse files
Resolve a bug in the progress dialog when loading a partialy imported folder
parent
d5e0f64e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Library/Library.cpp
View file @
5757fc59
...
...
@@ -37,6 +37,7 @@
#include
<QDomElement>
#include
<QHash>
#include
<QMessageBox>
#include
<QProgressDialog>
#include
<QUuid>
Library
::
Library
()
...
...
@@ -264,7 +265,10 @@ Library::loadFile( const QFileInfo& fileInfo, int loadingMedias )
if
(
!
mediaAlreadyLoaded
(
fileInfo
)
)
addMedia
(
fileInfo
);
else
{
m_progressDialog
->
setMaximum
(
m_loadingMedias
-
1
);
m_progressDialog
->
setValue
(
++
m_nbLoadedMedias
);
}
}
else
{
...
...
Write
Preview
Supports
Markdown
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