feat: Add start scan process without recon connect while configured.
This commit is contained in:
@@ -13,10 +13,13 @@ void LogFileTableModel::setFileName(QString fileName) {
|
||||
qDebug()<<fileName;
|
||||
QFile f;
|
||||
f.setFileName(fileName);
|
||||
if (!f.exists()) return;
|
||||
if (!f.exists())
|
||||
{
|
||||
endResetModel();
|
||||
return;
|
||||
}
|
||||
if(f.open(QFile::OpenModeFlag::ReadOnly | QFile::OpenModeFlag::Text))
|
||||
{
|
||||
|
||||
QTextStream in(&f);
|
||||
while(!in.atEnd()){
|
||||
logdata.push_back(in.readLine().split("\t"));
|
||||
|
||||
Reference in New Issue
Block a user