mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
fixed qt4 compilation
This commit is contained in:
parent
31356bab96
commit
a2a9079380
@ -293,9 +293,9 @@ PictureFlowState::PictureFlowState():
|
||||
|
||||
PictureFlowState::~PictureFlowState()
|
||||
{
|
||||
while (! slideImages.isEmpty()) {
|
||||
delete slideImages.takeFirst();
|
||||
}
|
||||
for(uint i=0;i<slideImages.size();++i)
|
||||
delete slideImages[i] ;
|
||||
slideImages.clear() ;
|
||||
}
|
||||
|
||||
// readjust the settings, call this when slide dimension is changed
|
||||
@ -1104,9 +1104,9 @@ void PictureFlow::setCenterIndex(int index)
|
||||
|
||||
void PictureFlow::clear()
|
||||
{
|
||||
while (! d->state->slideImages.isEmpty()) {
|
||||
delete d->state->slideImages.takeFirst();
|
||||
}
|
||||
for(uint i=0;i<d->state->slideImages.size();++i)
|
||||
delete d->state->slideImages[i] ;
|
||||
d->state->slideImages.clear() ;
|
||||
|
||||
d->state->reset();
|
||||
triggerRender();
|
||||
|
Loading…
Reference in New Issue
Block a user