mirror of https://gitee.com/cxasm/notepad--.git
Update ccnotepad.cpp 使用可点击的连接
This commit is contained in:
parent
27926687bc
commit
75da446564
|
@ -7317,14 +7317,19 @@ void CCNotePad::slot_hexGotoFile(qint64 addr)
|
|||
void CCNotePad::slot_about()
|
||||
{
|
||||
QMessageBox msgBox(this);
|
||||
QString msg = tr(R"(
|
||||
<a href="https://github.com/cxasm/notepad--">Github repo: cxasm/notepad--</a>
|
||||
<br/>
|
||||
<a href="https://gitee.com/cxasm/notepad--">China Gitee: cxasm/notepad--</a>
|
||||
)");
|
||||
|
||||
#if defined (Q_OS_MAC)
|
||||
msgBox.setText(tr("bugfix: https://github.com/cxasm/notepad-- \nchina: https://gitee.com/cxasm/notepad--"));
|
||||
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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue