1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 20:27:45 +00:00

Make all version strings in profile settings selectable by mouse

This commit is contained in:
Joshua Goins 2022-04-10 16:12:47 -04:00
parent e4df844c44
commit 0564fce8f2

View file

@ -146,6 +146,7 @@ SettingsWindow::SettingsWindow(int defaultTab, LauncherWindow& window, LauncherC
gameDirectoryButton->setEnabled(getCurrentProfile().isGameInstalled()); gameDirectoryButton->setEnabled(getCurrentProfile().isGameInstalled());
expansionVersionLabel = new QLabel(); expansionVersionLabel = new QLabel();
expansionVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse);
gameBoxLayout->addRow("Game Version", expansionVersionLabel); gameBoxLayout->addRow("Game Version", expansionVersionLabel);
auto loginBox = new QGroupBox("Login Options"); auto loginBox = new QGroupBox("Login Options");
@ -265,6 +266,7 @@ SettingsWindow::SettingsWindow(int defaultTab, LauncherWindow& window, LauncherC
}); });
wineVersionLabel = new QLabel(); wineVersionLabel = new QLabel();
wineVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse);
wineBoxLayout->addRow("Wine Version", wineVersionLabel); wineBoxLayout->addRow("Wine Version", wineVersionLabel);
winePrefixDirectory = new QLineEdit(); winePrefixDirectory = new QLineEdit();
@ -374,12 +376,15 @@ SettingsWindow::SettingsWindow(int defaultTab, LauncherWindow& window, LauncherC
dalamudBoxLayout->addRow("Opt Out of Automatic Marketboard Collection", dalamudOptOutBox); dalamudBoxLayout->addRow("Opt Out of Automatic Marketboard Collection", dalamudOptOutBox);
dalamudVersionLabel = new QLabel(); dalamudVersionLabel = new QLabel();
dalamudVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse);
dalamudBoxLayout->addRow("Dalamud Version", dalamudVersionLabel); dalamudBoxLayout->addRow("Dalamud Version", dalamudVersionLabel);
dalamudAssetVersionLabel = new QLabel(); dalamudAssetVersionLabel = new QLabel();
dalamudAssetVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse);
dalamudBoxLayout->addRow("Dalamud Asset Version", dalamudAssetVersionLabel); dalamudBoxLayout->addRow("Dalamud Asset Version", dalamudAssetVersionLabel);
nativeLauncherVersionLabel = new QLabel(); nativeLauncherVersionLabel = new QLabel();
nativeLauncherVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse);
dalamudBoxLayout->addRow("Native Launcher Version", nativeLauncherVersionLabel); dalamudBoxLayout->addRow("Native Launcher Version", nativeLauncherVersionLabel);
} }