initial commit

This commit is contained in:
2019-02-18 17:39:50 +01:00
parent cbaacbe0e9
commit fa05750b5f
14 changed files with 452 additions and 176 deletions
+2 -2
View File
@@ -471,7 +471,7 @@ bool cPictureList::load(cSplashScreen *lpSplashScreen, QProgressBar *lpProgressB
}
qint32 count = 0;
qint32 step = max/50;
qint32 step = max/200;
while(query.next())
{
@@ -503,7 +503,7 @@ bool cPictureList::load(cSplashScreen *lpSplashScreen, QProgressBar *lpProgressB
lpPicture->setThumbnail(blob2Image(query.value("thumbnail").toByteArray()));
count++;
if(count % step)
if(!(count % step))
{
if(lpProgressBar)
lpProgressBar->setValue(count);