|
@@ -18,7 +18,9 @@ ArgDialog::ArgDialog(QWidget *parent) :
|
|
|
{
|
|
|
ui->setupUi(this);
|
|
|
QObject::connect(ui->addFile, &QPushButton::clicked, this, [this]() {
|
|
|
- auto file_path = QFileDialog::getOpenFileName(this,
|
|
|
+ QFileDialog file_dialog = QFileDialog(this);
|
|
|
+ file_dialog.setStyleSheet("QWidget { color: white; font-weight: 700}");
|
|
|
+ auto file_path = file_dialog.getOpenFileName(this,
|
|
|
tr("Open File"), "~", tr("All Files (*.*)"));
|
|
|
qDebug() << "Selected file:" << file_path;
|
|
|
if (file_path.size() > 0) {
|