From 75da44656445ded204c8fd4eb9297a85f4da2af3 Mon Sep 17 00:00:00 2001 From: woclass Date: Wed, 8 Feb 2023 11:29:06 +0800 Subject: [PATCH] =?UTF-8?q?Update=20ccnotepad.cpp=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=8F=AF=E7=82=B9=E5=87=BB=E7=9A=84=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cceditor/ccnotepad.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/cceditor/ccnotepad.cpp b/src/cceditor/ccnotepad.cpp index b79e351..9ee2e13 100755 --- a/src/cceditor/ccnotepad.cpp +++ b/src/cceditor/ccnotepad.cpp @@ -7317,14 +7317,19 @@ void CCNotePad::slot_hexGotoFile(qint64 addr) void CCNotePad::slot_about() { QMessageBox msgBox(this); + QString msg = tr(R"( + Github repo: cxasm/notepad-- +
+ China Gitee: cxasm/notepad-- + )"); + #if defined (Q_OS_MAC) - msgBox.setText(tr("bugfix: https://github.com/cxasm/notepad-- \nchina: https://gitee.com/cxasm/notepad--")); - msgBox.setDetailedText(QString("Notepad-- %1").arg(VersionStr)); + msgBox.setText(msg); + msgBox.setDetailedText(QString("Notepad-- %1").arg(VersionStr)); #else msgBox.setWindowTitle(QString("Notepad-- %1").arg(VersionStr)); - msgBox.setText(tr("bugfix: https://github.com/cxasm/notepad-- \nchina: https://gitee.com/cxasm/notepad--")); + msgBox.setText(msg); #endif - msgBox.setTextInteractionFlags(Qt::TextSelectableByMouse); msgBox.exec(); }