Correct onboard storage path

This commit is contained in:
Nicolas Mailloux 2021-05-28 08:39:45 -04:00
parent f42ef53338
commit a6c1f2be5b

View file

@ -302,7 +302,7 @@ reader::reader(QWidget *parent) :
} }
else { else {
if(checkconfig("/opt/inkbox_genuine") == true) { if(checkconfig("/opt/inkbox_genuine") == true) {
QDir::setCurrent("/mnt/onboard"); QDir::setCurrent("/mnt/onboard/onboard");
QFileDialog *dialog = new QFileDialog(this); QFileDialog *dialog = new QFileDialog(this);
// https://forum.qt.io/topic/29471/solve-how-to-show-qfiledialog-at-center-position-screen/4 // https://forum.qt.io/topic/29471/solve-how-to-show-qfiledialog-at-center-position-screen/4
QDesktopWidget desk; QDesktopWidget desk;