From 0564fce8f22459d67056bd0fcb81b18d53cdb4ab Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 10 Apr 2022 16:12:47 -0400 Subject: [PATCH] Make all version strings in profile settings selectable by mouse --- src/settingswindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/settingswindow.cpp b/src/settingswindow.cpp index c8799a5..4893841 100644 --- a/src/settingswindow.cpp +++ b/src/settingswindow.cpp @@ -146,6 +146,7 @@ SettingsWindow::SettingsWindow(int defaultTab, LauncherWindow& window, LauncherC gameDirectoryButton->setEnabled(getCurrentProfile().isGameInstalled()); expansionVersionLabel = new QLabel(); + expansionVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse); gameBoxLayout->addRow("Game Version", expansionVersionLabel); auto loginBox = new QGroupBox("Login Options"); @@ -265,6 +266,7 @@ SettingsWindow::SettingsWindow(int defaultTab, LauncherWindow& window, LauncherC }); wineVersionLabel = new QLabel(); + wineVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse); wineBoxLayout->addRow("Wine Version", wineVersionLabel); winePrefixDirectory = new QLineEdit(); @@ -374,12 +376,15 @@ SettingsWindow::SettingsWindow(int defaultTab, LauncherWindow& window, LauncherC dalamudBoxLayout->addRow("Opt Out of Automatic Marketboard Collection", dalamudOptOutBox); dalamudVersionLabel = new QLabel(); + dalamudVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse); dalamudBoxLayout->addRow("Dalamud Version", dalamudVersionLabel); dalamudAssetVersionLabel = new QLabel(); + dalamudAssetVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse); dalamudBoxLayout->addRow("Dalamud Asset Version", dalamudAssetVersionLabel); nativeLauncherVersionLabel = new QLabel(); + nativeLauncherVersionLabel->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse); dalamudBoxLayout->addRow("Native Launcher Version", nativeLauncherVersionLabel); }