mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-30 13:50:20 +02:00
Fix bug where watched directories are not clickable on macOS
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
This commit is contained in:
parent
4787141698
commit
e7c95c9ccb
@ -164,7 +164,8 @@ void BlockedModsDialog::update()
|
|||||||
|
|
||||||
QString watching;
|
QString watching;
|
||||||
for (auto& dir : m_watcher.directories()) {
|
for (auto& dir : m_watcher.directories()) {
|
||||||
watching += QString("<a href=\"%1\">%1</a><br/>").arg(dir);
|
QUrl fileURL = QUrl::fromLocalFile(dir);
|
||||||
|
watching += QString("<a href=\"%1\">%2</a><br/>").arg(fileURL.toString(), dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->textBrowserWatched->setText(watching);
|
ui->textBrowserWatched->setText(watching);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user