This commit is contained in:
parent
ccf891c619
commit
1fcd960eea
|
@ -254,7 +254,8 @@ void Dialog_logIn::on_pushButton_updateFilename_clicked()
|
|||
|
||||
void Dialog_logIn::on_pushButton_viewDirectory_clicked()
|
||||
{
|
||||
QString fileName = getCfgValue("login", "profile", ui->comboBox_filenameList->currentText());
|
||||
QString fileName = getCurrentExePath() + ui->comboBox_filenameList->currentText().toLocal8Bit() + ".json";
|
||||
qDebug(fileName.toLocal8Bit().toStdString().c_str());
|
||||
QFileInfo fileInfo(fileName);
|
||||
auto pathDir = fileInfo.path();
|
||||
QString strFilePath = "file:///" + pathDir;
|
||||
|
|
Loading…
Reference in New Issue