diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-12-28 01:25:33 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-12-28 01:25:33 -0500 |
| commit | 51db1f99f0c4cddc0af224d46d6e5679d18d2a53 (patch) | |
| tree | ddb11e4aef19b1d428c9f71bdc734e59b2e2d25d /src/modinfodialognexus.cpp | |
| parent | 106ed49baecc60dbdf4844ed684df750e5caf3aa (diff) | |
custom browser command
changed some places that used QDesktopServices to use shell::Open() from uibase instead
Diffstat (limited to 'src/modinfodialognexus.cpp')
| -rw-r--r-- | src/modinfodialognexus.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modinfodialognexus.cpp b/src/modinfodialognexus.cpp index 1ee3cefc..f81cfa89 100644 --- a/src/modinfodialognexus.cpp +++ b/src/modinfodialognexus.cpp @@ -217,11 +217,11 @@ void NexusTab::onModChanged() padding-top: 20px; padding-bottom: 20px; } - + img { max-width: 100%; } - + figure.quote { position: relative; padding: 24px; @@ -257,7 +257,7 @@ void NexusTab::onModChanged() display: inline-block; cursor: pointer; } - + details summary::-webkit-details-marker { display:none; } @@ -268,7 +268,7 @@ void NexusTab::onModChanged() a { - /*should avoid overflow with long links forcing wordwrap regardless of spaces*/ + /*should avoid overflow with long links forcing wordwrap regardless of spaces*/ overflow-wrap: break-word; word-wrap: break-word; @@ -325,7 +325,7 @@ void NexusTab::onSourceGameChanged() for (auto game : plugin().plugins<MOBase::IPluginGame>()) { if (game->gameName() == ui->sourceGame->currentText()) { - mod().setGameName(game->gameShortName()); + mod().setGameName(game->gameShortName()); mod().setLastNexusQuery(QDateTime::fromSecsSinceEpoch(0)); refreshData(mod().nexusId()); return; @@ -411,7 +411,7 @@ void NexusTab::onCustomURLChanged() void NexusTab::onVisitCustomURL() { - const auto url = mod().parseCustomURL(); + const QUrl url = mod().parseCustomURL(); if (url.isValid()) { shell::Open(url); } |
