yet another attempt to solve the QProgressDialog issue. Now trying with qt->reset.

This commit is contained in:
Paolo Cignoni cignoni 2006-02-24 08:21:00 +00:00
parent 988cfb97fb
commit c572988878
2 changed files with 11 additions and 5 deletions

View File

@ -24,6 +24,9 @@
History
$Log$
Revision 1.49 2006/02/24 08:21:00 cignoni
yet another attempt to solve the QProgressDialog issue. Now trying with qt->reset.
Revision 1.48 2006/02/22 10:20:09 cignoni
Changed progressbar->hide into close to avoid 100% cpu use.
@ -79,9 +82,9 @@ MainWindow::MainWindow()
qb=new QProgressDialog(this);
qb->setMaximum(100);
qb->setMinimum(0);
qb->setAutoClose(false);
qb->setAutoClose(true);
qb->setMinimumDuration(0);
qb->close();
qb->reset();
}
void MainWindow::createActions()

View File

@ -24,6 +24,9 @@
History
$Log$
Revision 1.91 2006/02/24 08:21:00 cignoni
yet another attempt to solve the QProgressDialog issue. Now trying with qt->reset.
Revision 1.90 2006/02/22 10:20:09 cignoni
Changed progressbar->hide into close to avoid 100% cpu use.
@ -219,7 +222,7 @@ void MainWindow::applyFilter()
lastFilterAct->setText(QString("Apply filter ") + action->text());
lastFilterAct->setEnabled(true);
}
qb->close();
qb->reset();
}
void MainWindow::applyEditMode()
@ -450,7 +453,7 @@ void MainWindow::open(QString fileName)
}
//qb->hide();
qb->close();
qb->reset();
}
void MainWindow::openRecentFile()
@ -518,7 +521,7 @@ bool MainWindow::saveAs()
return false;
qb->show();
ret = pCurrentIOPlugin->save(extension, fileName, *this->GLA()->mm ,mask,QCallBack,this);
qb->close();
qb->reset();
}
return ret;
}