Advertisement
Guest User

Untitled

a guest
Jun 5th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     KNS3::UploadDialog dialog("labplot2_datasets.knsrc", this);
  2.  
  3.     QFile file(m_jsonDir + "DatasetCategories_backup.json");
  4.     qDebug() << "file exists: " << file.exists();
  5.     qDebug() << "file can be opened: " << file.open(QIODevice::ReadOnly) << "  " << file.errorString();
  6.     file.close();
  7.     dialog.setUploadFile(m_jsonDir + "DatasetCategories_backup.json");
  8.     qDebug("Upload file set!");
  9.     dialog.setUploadName("Dataset Categories");
  10.     qDebug() << "Upload name set!";
  11.  
  12.     dialog.exec();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement