Skip to content

Commit a29c530

Browse files
committed
link update
1 parent eca3abf commit a29c530

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/mainwindow.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,12 @@ void MainWindow::initUI() {
184184
sidebarLayout->addSpacing(20);
185185

186186
// Version & Creator
187-
QLabel* infoLabel = new QLabel(QString("v%1\nby leVI & raxnmint").arg(Config::APP_VERSION));
187+
QLabel* infoLabel = new QLabel(QString("v%1<br>by <a href=\"https://github.com/sayedalimollah2602-prog\" style=\"color: %2; text-decoration: none;\">leVI</a> & <a href=\"https://github.com/raxnmint\" style=\"color: %2; text-decoration: none;\">raxnmint</a>").arg(Config::APP_VERSION).arg(Colors::TEXT_SECONDARY));
188188
infoLabel->setStyleSheet(QString("color: %1; font-size: 10px; font-weight: bold;").arg(Colors::TEXT_SECONDARY));
189189
infoLabel->setAlignment(Qt::AlignCenter);
190+
infoLabel->setTextFormat(Qt::RichText);
191+
infoLabel->setTextInteractionFlags(Qt::TextBrowserInteraction);
192+
infoLabel->setOpenExternalLinks(true);
190193
sidebarLayout->addWidget(infoLabel);
191194

192195
rootLayout->addWidget(sidebarWidget);

0 commit comments

Comments
 (0)