diff --git a/apps/launcher/advancedpage.cpp b/apps/launcher/advancedpage.cpp index c7e228878c..d09704851a 100644 --- a/apps/launcher/advancedpage.cpp +++ b/apps/launcher/advancedpage.cpp @@ -121,7 +121,6 @@ bool Launcher::AdvancedPage::loadSettings() loadSettingBool(antialiasAlphaTestCheckBox, "antialias alpha test", "Shaders"); if (Settings::Manager::getInt("antialiasing", "Video") == 0) { antialiasAlphaTestCheckBox->setCheckState(Qt::Unchecked); - antialiasAlphaTestCheckBox->setEnabled(false); } loadSettingBool(magicItemAnimationsCheckBox, "use magic item animations", "Game"); connect(animSourcesCheckBox, SIGNAL(toggled(bool)), this, SLOT(slotAnimSourcesToggled(bool))); @@ -445,12 +444,6 @@ void Launcher::AdvancedPage::slotLoadedCellsChanged(QStringList cellNames) loadCellsForAutocomplete(cellNames); } -void Launcher::AdvancedPage::slotAASettingChanged(int aaLevel) { - antialiasAlphaTestCheckBox->setEnabled(aaLevel > 0); - if (aaLevel == 0) - antialiasAlphaTestCheckBox->setCheckState(Qt::Unchecked); -} - void Launcher::AdvancedPage::slotAnimSourcesToggled(bool checked) { weaponSheathingCheckBox->setEnabled(checked); diff --git a/apps/launcher/advancedpage.hpp b/apps/launcher/advancedpage.hpp index e26f1690e9..1d16fae706 100644 --- a/apps/launcher/advancedpage.hpp +++ b/apps/launcher/advancedpage.hpp @@ -24,7 +24,6 @@ namespace Launcher public slots: void slotLoadedCellsChanged(QStringList cellNames); - void slotAASettingChanged(int aaLevel); private slots: void on_skipMenuCheckBox_stateChanged(int state); diff --git a/apps/launcher/graphicspage.cpp b/apps/launcher/graphicspage.cpp index 06cc98c741..e6d857a943 100644 --- a/apps/launcher/graphicspage.cpp +++ b/apps/launcher/graphicspage.cpp @@ -49,10 +49,6 @@ Launcher::GraphicsPage::GraphicsPage(QWidget *parent) connect(shadowDistanceCheckBox, SIGNAL(toggled(bool)), this, SLOT(slotShadowDistLimitToggled(bool))); } -void Launcher::GraphicsPage::connectAntiAliasingChanged(const QObject* receiver, const char* slot) { - connect(antiAliasingComboBox, SIGNAL(currentIndexChanged(int)), receiver, slot); -} - bool Launcher::GraphicsPage::setupSDL() { bool sdlConnectSuccessful = initSDL(); diff --git a/apps/launcher/graphicspage.hpp b/apps/launcher/graphicspage.hpp index d86b570914..a6754ccb04 100644 --- a/apps/launcher/graphicspage.hpp +++ b/apps/launcher/graphicspage.hpp @@ -20,7 +20,6 @@ namespace Launcher public: explicit GraphicsPage(QWidget *parent = nullptr); - void connectAntiAliasingChanged(const QObject *receiver, const char *slot); void saveSettings(); bool loadSettings(); diff --git a/apps/launcher/maindialog.cpp b/apps/launcher/maindialog.cpp index d58be7afcf..d335d7cded 100644 --- a/apps/launcher/maindialog.cpp +++ b/apps/launcher/maindialog.cpp @@ -146,7 +146,6 @@ void Launcher::MainDialog::createPages() connect(mDataFilesPage, SIGNAL(signalProfileChanged(int)), mPlayPage, SLOT(setProfilesIndex(int))); // Using Qt::QueuedConnection because signal is emitted in a subthread and slot is in the main thread connect(mDataFilesPage, SIGNAL(signalLoadedCellsChanged(QStringList)), mAdvancedPage, SLOT(slotLoadedCellsChanged(QStringList)), Qt::QueuedConnection); - mGraphicsPage->connectAntiAliasingChanged(mAdvancedPage, SLOT(slotAASettingChanged(int))); } Launcher::FirstRunDialogResult Launcher::MainDialog::showFirstRunDialog() diff --git a/files/ui/advancedpage.ui b/files/ui/advancedpage.ui index f782c6caa0..4b7434dc35 100644 --- a/files/ui/advancedpage.ui +++ b/files/ui/advancedpage.ui @@ -457,7 +457,7 @@ - <html><head/><body><p>Enables alpha testing for smoother anti-aliasing (Requires anti-aliasing to be enabled)</p></body></html> + <html><head/><body><p>Allows MSAA to work with alpha-tested meshes, producing better-looking edges without pixelation. Can negatively impact performance if MSAA is off.</p></body></html> Use anti-alias alpha testing