From 92cff7ad533e418635164cc3533c89ec5172022b Mon Sep 17 00:00:00 2001 From: "DESKTOP-450PEFP\\mainc" Date: Thu, 18 Jun 2026 20:01:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BA=E4=BA=95=E5=8F=AF=E8=A7=86=E8=A7=A3?= =?UTF-8?q?=E9=87=8A=E8=AF=BB=E5=8F=96=E6=95=B0=E6=8D=AE=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WellLogUI/src/WellLogTableDialogNew.cpp | 2 +- logPlus/qmycustomplot.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WellLogUI/src/WellLogTableDialogNew.cpp b/WellLogUI/src/WellLogTableDialogNew.cpp index d2f8d82..b9cd347 100644 --- a/WellLogUI/src/WellLogTableDialogNew.cpp +++ b/WellLogUI/src/WellLogTableDialogNew.cpp @@ -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); diff --git a/logPlus/qmycustomplot.cpp b/logPlus/qmycustomplot.cpp index 2d5fbcc..6cb0d44 100644 --- a/logPlus/qmycustomplot.cpp +++ b/logPlus/qmycustomplot.cpp @@ -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) { //------------------------------------// //判断