From fb8c91eed911b2f6d17bc748dbe2b9c852eca508 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Fri, 13 Dec 2019 00:36:22 +0800 Subject: [PATCH] =?UTF-8?q?UI:=20=E6=A0=87=E9=A2=98=E6=A0=8F=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=A8=8B=E5=BA=8F=E6=96=87=E4=BB=B6=E5=90=8D(?= =?UTF-8?q?=E5=90=AB=E8=B7=AF=E5=BE=84)=E5=92=8C=20PID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index b18e2dc3..ee0771ab 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,8 +26,9 @@ int main(int argc, char *argv[]) { QApplication a(argc, argv); - MillGameWindow w; + MillGameWindow w; w.show(); + w.setWindowTitle(QCoreApplication::applicationFilePath() + " (" + QString::number(QCoreApplication::applicationPid()) + ")"); #ifndef _DEBUG w.move((QApplication::desktop()->width() - w.width()) / 4, (QApplication::desktop()->height() - w.height()) / 2); #endif