mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
replace hardcoded url with REPO_URL macro
This commit is contained in:
+2
-4
@@ -179,10 +179,8 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
QIcon(":/resources/icons/MdiGithub.png"), "iDescriptor on GitHub");
|
||||
githubButton->setCursor(Qt::PointingHandCursor);
|
||||
githubButton->setFixedSize(24, 24);
|
||||
connect(githubButton, &ZIconWidget::clicked, this, []() {
|
||||
QDesktopServices::openUrl(
|
||||
QUrl("https://github.com/uncor3/iDescriptor"));
|
||||
});
|
||||
connect(githubButton, &ZIconWidget::clicked, this,
|
||||
[]() { QDesktopServices::openUrl(QUrl(REPO_URL)); });
|
||||
|
||||
m_connectedDeviceCountLabel = new QLabel("iDescriptor: no devices");
|
||||
m_connectedDeviceCountLabel->setContentsMargins(5, 0, 5, 0);
|
||||
|
||||
Reference in New Issue
Block a user