固井可视解释读取数据编码问题。

This commit is contained in:
DESKTOP-450PEFP\mainc 2026-06-18 20:01:07 +08:00
parent ca8aa6b544
commit 92cff7ad53
2 changed files with 3 additions and 3 deletions

View File

@ -569,7 +569,7 @@ void WellLogTableDialogNew::slotSave()
delete logio;
return;
}
int iIndex=logio->OpenTable(UTF8ToGBK(m_pWellLogs[0]->GetName()));
int iIndex=logio->OpenTable(m_pWellLogs[0]->GetName().toStdString().c_str());
if (iIndex >=0)
{
int fc=logio->GetTableFieldCount(iIndex);

View File

@ -2929,7 +2929,7 @@ bool QMyCustomPlot::SaveToSLF_Gujing()
return false;
}
int iIndex=logio->OpenTable(UTF8ToGBK(m_strLineName));
int iIndex=logio->OpenTable(m_strLineName.toStdString().c_str());
bool isfirst=false;
if (iIndex < 0)
{
@ -4485,7 +4485,7 @@ bool QMyCustomPlot::LoadFromSLF_Gujing(QString strSlfName, QString strLineName)
zoneOrder_Gujing.insert(lines[i],QString::number(i));
}
int iIndex=logio->OpenTable(UTF8ToGBK(strLineName));
int iIndex=logio->OpenTable(strLineName.toStdString().c_str());
if(iIndex>-1) {
//------------------------------------//
//判断