}
}
-void BrowseMainWindow::writeFile(QString path, QByteArray text) {
- QFile file(path);
- if (!file.open(QIODevice::WriteOnly | QIODevice::Text))
- return;
-
- QTextStream out(&file);
- out << text;
-}
-
void BrowseMainWindow::updateList() {
ui->listWidget->clear();
int ct = this->mContents->count();