Show a busy cursor while doing master key transformations.

This commit is contained in:
Felix Geyer 2012-07-27 18:54:35 +02:00
parent 3a2f387892
commit 886187baee
4 changed files with 11 additions and 1 deletions

View file

@ -55,7 +55,9 @@ void KeePass1OpenWidget::openDatabase()
if (m_db) {
delete m_db;
}
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
m_db = reader.readDatabase(&file, password, keyFileName);
QApplication::restoreOverrideCursor();
if (m_db) {
m_db->metadata()->setName(QFileInfo(m_filename).completeBaseName());