Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- KNS3::UploadDialog dialog("labplot2_datasets.knsrc", this);
- QFile file(m_jsonDir + "DatasetCategories_backup.json");
- qDebug() << "file exists: " << file.exists();
- qDebug() << "file can be opened: " << file.open(QIODevice::ReadOnly) << " " << file.errorString();
- file.close();
- dialog.setUploadFile(m_jsonDir + "DatasetCategories_backup.json");
- qDebug("Upload file set!");
- dialog.setUploadName("Dataset Categories");
- qDebug() << "Upload name set!";
- dialog.exec();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement