one more preservation for previous
This commit is contained in:
parent
26f7a11d80
commit
571bfcf4b6
@ -442,7 +442,7 @@ void MainWindow::on_DeleteDataButton_clicked()
|
|||||||
|
|
||||||
QString err;
|
QString err;
|
||||||
for (int i = selection.length(); i-->0;) {
|
for (int i = selection.length(); i-->0;) {
|
||||||
if (! bdb->deleteItem(browse, selection[i]->text(0).toUtf8(), err)) {
|
if (! bdb->deleteItem(browse, selection[i]->data(0, BinaryDataRole).toByteArray(), err)) {
|
||||||
QMessageBox qmb;
|
QMessageBox qmb;
|
||||||
qmb.setText(tr("Error removing item: %1").arg(err));
|
qmb.setText(tr("Error removing item: %1").arg(err));
|
||||||
qmb.exec();
|
qmb.exec();
|
||||||
|
Loading…
Reference in New Issue
Block a user