From 4c46d7ad0bb39e9deb67d5edb583e5e7410e7034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Thu, 31 Aug 2017 10:49:26 +0100 Subject: [PATCH] Adapt to kpmcore QList->QVector changes. --- src/gui/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 57955d0..8fd4c12 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -1106,7 +1106,7 @@ void MainWindow::onCreateNewVolumeGroup() // *NOTE*: vgName & pvList will be modified and validated by the dialog QPointer dlg = new CreateVolumeGroupDialog(this, vgName, pvList, peSize, operationStack().previewDevices()); if (dlg->exec() == QDialog::Accepted) - operationStack().push(new CreateVolumeGroupOperation(vgName, QList::fromVector(pvList), peSize)); + operationStack().push(new CreateVolumeGroupOperation(vgName, pvList, peSize)); delete dlg; } @@ -1121,7 +1121,7 @@ void MainWindow::onResizeVolumeGroup() QPointer dlg = new ResizeVolumeGroupDialog(this, d, pvList); if (dlg->exec() == QDialog::Accepted) - operationStack().push(new ResizeVolumeGroupOperation(*d, QList::fromVector(pvList))); + operationStack().push(new ResizeVolumeGroupOperation(*d, pvList)); delete dlg; }