mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: update files of project
This commit is contained in:
parent
8b1c5ddfb5
commit
a50b408c58
@ -215,11 +215,11 @@ void MainWindow::initLanguageMenu() {}
|
||||
void MainWindow::initHelpMenu()
|
||||
{
|
||||
m_helpMenu->addSeparator();
|
||||
m_helpMenu->addAction(QIcon(":/Resources/Icons/GitHub.svg"),
|
||||
m_helpMenu->addAction(/*QIcon(":/Resources/Icons/GitHub.svg"),*/
|
||||
tr("Get Sources from Github"),
|
||||
this,
|
||||
[]() { QDesktopServices::openUrl(QUrl(X_TOOLS_GITHUB_REPOSITORY_URL)); });
|
||||
m_helpMenu->addAction(QIcon(":/Resources/Icons/Gitee.svg"),
|
||||
m_helpMenu->addAction(/*QIcon(":/Resources/Icons/Gitee.svg"),*/
|
||||
tr("Get Sources from Gitee"),
|
||||
this,
|
||||
[]() { QDesktopServices::openUrl(QUrl(X_TOOLS_GITEE_REPOSITORY_URL)); });
|
||||
@ -242,7 +242,7 @@ void MainWindow::initHelpMenu()
|
||||
m_helpMenu->addAction(tr("Release History"),
|
||||
this,
|
||||
&MainWindow::showHistory);
|
||||
m_helpMenu->addAction(QIcon(":/Resources/Icons/IconQQ.svg"),
|
||||
m_helpMenu->addAction(/*QIcon(":/Resources/Icons/IconQQ.svg"),*/
|
||||
tr("Join in QQ Group"),
|
||||
this,
|
||||
&MainWindow::showQrCode);
|
||||
@ -291,7 +291,7 @@ void MainWindow::initLinksMenu()
|
||||
continue;
|
||||
}
|
||||
|
||||
QAction* action = new QAction(QIcon(var.iconPath), var.name, this);
|
||||
QAction* action = new QAction(var.name, this);
|
||||
action->setObjectName(var.url);
|
||||
linksMenu->addAction(action);
|
||||
|
||||
|
||||
@ -12,6 +12,9 @@
|
||||
|
||||
int main(const int argc, char *argv[])
|
||||
{
|
||||
#if 0
|
||||
QApplication::setAttribute(Qt::AA_Use96Dpi);
|
||||
#endif
|
||||
#ifdef X_TOOLS_BUILD_WITH_CMAKE
|
||||
Q_INIT_RESOURCE(xToolsCommon);
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user