From dd69403ee6b109418acfbc819966f2351a0aab92 Mon Sep 17 00:00:00 2001 From: shouchih_chen Date: Fri, 25 Mar 2022 22:53:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E4=BA=9B=E9=8C=AF?= =?UTF-8?q?=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NameCreater/main.cpp | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/NameCreater/main.cpp b/NameCreater/main.cpp index f3ac988..7e1a67d 100644 --- a/NameCreater/main.cpp +++ b/NameCreater/main.cpp @@ -55,20 +55,6 @@ static QPointF NAME_POS[] = { QPointF(1268, 2334), QPointF(2240, 2202), }; -static QPointF NAME_POS_TWO_WORD[] = { - QPointF(240, 510), QPointF(372, 1402), - QPointF(564, 430), QPointF(694, 1402), - QPointF(883, 430), QPointF(1014, 1402), - QPointF(1205, 430), QPointF(1337, 1402), - QPointF(1532, 430), QPointF(1663, 1402), - QPointF(1854, 430), QPointF(1987, 1402), - QPointF(2176, 430), QPointF(2309, 1402), - QPointF(2498, 430), QPointF(2629, 1402), - QPointF(2821, 430), QPointF(2952, 1402), - QPointF(3145, 430), QPointF(3276, 1402), - QPointF(1268, 2012), QPointF(2240, 1880), - QPointF(1268, 2334), QPointF(2240, 2202), -}; static int NAME_POS_COUNT = sizeof(NAME_POS) / sizeof(NAME_POS[0]); @@ -309,9 +295,7 @@ int main(int argc, char* argv[]) QString file_name = QString("%1_.jpg").arg(QString::number(export_times + 1)); saveToImage(file_name, &scene); export_times++; - view.show(); - break; - //scene.clear(); + scene.clear(); } } @@ -324,5 +308,5 @@ int main(int argc, char* argv[]) font_res.close(); - return a.exec(); + return 0; }