mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Some small cleanups (#4772)
This commit is contained in:
commit
04786023b0
18 changed files with 50 additions and 112 deletions
|
|
@ -130,7 +130,7 @@
|
|||
|
||||
#ifdef Q_OS_LINUX
|
||||
#include <dlfcn.h>
|
||||
#include "MangoHud.h"
|
||||
#include "LibraryUtils.h"
|
||||
#include "gamemode_client.h"
|
||||
#endif
|
||||
|
||||
|
|
@ -1834,7 +1834,7 @@ void Application::updateCapabilities()
|
|||
if (gamemode_query_status() >= 0)
|
||||
m_capabilities |= SupportsGameMode;
|
||||
|
||||
if (!MangoHud::getLibraryString().isEmpty())
|
||||
if (!LibraryUtils::findMangoHud().isEmpty())
|
||||
m_capabilities |= SupportsMangoHud;
|
||||
#endif
|
||||
}
|
||||
|
|
@ -1842,8 +1842,8 @@ void Application::updateCapabilities()
|
|||
void Application::detectLibraries()
|
||||
{
|
||||
#ifdef Q_OS_LINUX
|
||||
m_detectedGLFWPath = MangoHud::findLibrary(BuildConfig.GLFW_LIBRARY_NAME);
|
||||
m_detectedOpenALPath = MangoHud::findLibrary(BuildConfig.OPENAL_LIBRARY_NAME);
|
||||
m_detectedGLFWPath = LibraryUtils::find(BuildConfig.GLFW_LIBRARY_NAME);
|
||||
m_detectedOpenALPath = LibraryUtils::find(BuildConfig.OPENAL_LIBRARY_NAME);
|
||||
qDebug() << "Detected native libraries:" << m_detectedGLFWPath << m_detectedOpenALPath;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue