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