Update the database in a different thread so it doesn't freeze the main

thread.
Show PIN in a dialog instead of a notification popup.
Translations updated.
This commit is contained in:
codestation
2013-08-30 11:10:43 -04:30
parent b46156b507
commit 04853712d0
27 changed files with 772 additions and 133 deletions

View File

@@ -47,7 +47,7 @@ BackupManagerForm::~BackupManagerForm()
void BackupManagerForm::setupForm()
{
this->resize(800, 480);
connect(ui->backupComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(loadBackupListing(int)));
connect(ui->backupComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(loadBackupListing(int)));
ui->tableWidget->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
ui->tableWidget->horizontalHeader()->hide();
// the the account name when vitamtp returns this value
@@ -133,7 +133,7 @@ void BackupManagerForm::loadBackupListing(int index)
// get the item list
metadata_t *meta;
int row_count = db->filterObjects(ohfi, &meta);
int row_count = db->filterObjects(ohfi, &meta);
ui->tableWidget->setRowCount(row_count);
// adjust the table item width to fill all the widget