From b750c4dfb798321bcc0282ad90d126787da9074d Mon Sep 17 00:00:00 2001 From: yonghye Date: Sun, 16 Dec 2018 21:10:56 +0900 Subject: [PATCH] Deactivate Mainwindow style sheet Inheritance --- mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index eb35890..83c71dd 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -265,7 +265,7 @@ void MainWindow::open_img_dir(bool& ret) pjreddie_style_msgBox(QMessageBox::Information,"Help", "Step 1. Open Your Data Set Directory"); QString imgDir = QFileDialog::getExistingDirectory( - this, + nullptr, tr("Open Dataset Directory"), "./",QFileDialog::ShowDirsOnly); @@ -296,7 +296,7 @@ void MainWindow::open_obj_file(bool& ret) pjreddie_style_msgBox(QMessageBox::Information,"Help", "Step 2. Open Your Label List File(*.txt or *.names)"); QString fileLabelList = QFileDialog::getOpenFileName( - this, + nullptr, tr("Open LabelList file"), "./", tr("LabelList Files (*.txt *.names)"));