diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 130a8fc..572dda0 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -75,7 +75,7 @@ MainWindow::MainWindow(QWidget *parent) menuDevice = ui->menuDevice; menuDisk = ui->menuDisk; - selfTestMenu = new QMenu(tr("Start Self Test"), this); + selfTestMenu = new QMenu(tr("Start Self Test"), menuDevice); menuDevice->addMenu(selfTestMenu); selfTestMenu->setToolTipsVisible(true);