From 9bd4afe0101dfa2d2ba95beea3fa99c5d4ab69ee Mon Sep 17 00:00:00 2001 From: morg Date: Wed, 22 Jun 2022 22:33:59 +0200 Subject: [PATCH] Fix the file filter in the install plugin file dialog --- qt/OpenRGBPluginsPage/OpenRGBPluginsPage.cpp | 2 +- qt/i18n/OpenRGB_de.ts | 4 ++-- qt/i18n/OpenRGB_en.ts | 2 +- qt/i18n/OpenRGB_es.ts | 4 ++-- qt/i18n/OpenRGB_fr.ts | 4 ++-- qt/i18n/OpenRGB_ru.ts | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/qt/OpenRGBPluginsPage/OpenRGBPluginsPage.cpp b/qt/OpenRGBPluginsPage/OpenRGBPluginsPage.cpp index 3531b19b..827f6023 100644 --- a/qt/OpenRGBPluginsPage/OpenRGBPluginsPage.cpp +++ b/qt/OpenRGBPluginsPage/OpenRGBPluginsPage.cpp @@ -87,7 +87,7 @@ void Ui::OpenRGBPluginsPage::on_InstallPluginButton_clicked() /*-----------------------------------------------------*\ | Open a file selection prompt to choose the plugin file| \*-----------------------------------------------------*/ - QString install_file = QFileDialog::getOpenFileName(this, tr("Install OpenRGB Plugin"), "", tr("Plugin files (*.dll; *.dylib; *.so; *.so.*)")); + QString install_file = QFileDialog::getOpenFileName(this, tr("Install OpenRGB Plugin"), "", tr("Plugin files (*.dll *.dylib *.so *.so.*)")); bool installed = InstallPlugin(install_file.toStdString()); diff --git a/qt/i18n/OpenRGB_de.ts b/qt/i18n/OpenRGB_de.ts index 8dd8b4ca..6188f6a1 100644 --- a/qt/i18n/OpenRGB_de.ts +++ b/qt/i18n/OpenRGB_de.ts @@ -1198,8 +1198,8 @@ OpenRGB Plugin installieren - Plugin files (*.dll; *.dylib; *.so; *.so.*) - Plugin-Dateien (*.dll; *.dylib; *.so; *.so.*) + Plugin files (*.dll *.dylib *.so *.so.*) + Plugin-Dateien (*.dll *.dylib *.so *.so.*) Replace Plugin diff --git a/qt/i18n/OpenRGB_en.ts b/qt/i18n/OpenRGB_en.ts index 8152ac63..36aec62e 100644 --- a/qt/i18n/OpenRGB_en.ts +++ b/qt/i18n/OpenRGB_en.ts @@ -1197,7 +1197,7 @@ - Plugin files (*.dll; *.dylib; *.so; *.so.*) + Plugin files (*.dll *.dylib *.so *.so.*) diff --git a/qt/i18n/OpenRGB_es.ts b/qt/i18n/OpenRGB_es.ts index d8678f22..271b4855 100644 --- a/qt/i18n/OpenRGB_es.ts +++ b/qt/i18n/OpenRGB_es.ts @@ -1199,8 +1199,8 @@ Instalar plugin de OpenRGB - Plugin files (*.dll; *.dylib; *.so; *.so.*) - Archivos de plugin (*.dll; *.dylib; *.so; *.so.*) + Plugin files (*.dll *.dylib *.so *.so.*) + Archivos de plugin (*.dll *.dylib *.so *.so.*) Replace Plugin diff --git a/qt/i18n/OpenRGB_fr.ts b/qt/i18n/OpenRGB_fr.ts index 21f304bc..98ccf44d 100644 --- a/qt/i18n/OpenRGB_fr.ts +++ b/qt/i18n/OpenRGB_fr.ts @@ -1197,8 +1197,8 @@ Installer un plugin OpenRGB - Plugin files (*.dll; *.dylib; *.so; *.so.*) - Fichiers de plugin (*.dll; *.dylib; *.so; *.so.*) + Plugin files (*.dll *.dylib *.so *.so.*) + Fichiers de plugin (*.dll *.dylib *.so *.so.*) Replace Plugin diff --git a/qt/i18n/OpenRGB_ru.ts b/qt/i18n/OpenRGB_ru.ts index 17b440d8..1c7a42bb 100644 --- a/qt/i18n/OpenRGB_ru.ts +++ b/qt/i18n/OpenRGB_ru.ts @@ -1207,8 +1207,8 @@ Установить плагин OpenRGB - Plugin files (*.dll; *.dylib; *.so; *.so.*) - Файлы плагинов (*.dll; *.dylib; *.so; *.so.*) + Plugin files (*.dll *.dylib *.so *.so.*) + Файлы плагинов (*.dll *.dylib *.so; *.so.*) Replace Plugin