From 2310f7ce76656eef92c73980c0633e042adcc14f Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 8 Oct 2024 15:46:11 +0000 Subject: [PATCH] plugins/lockdevice: Remove unnecessary MSVC specific pragma directive Fixes the following compiler warning with mingw-w64 toolchain: lockdeviceplugin-win.cpp:18: warning: ignoring '#pragma comment ' [-Wunknown-pragmas] 18 | #pragma comment(lib, "user32.lib") --- plugins/lockdevice/lockdeviceplugin-win.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/lockdevice/lockdeviceplugin-win.cpp b/plugins/lockdevice/lockdeviceplugin-win.cpp index ca6211c17..1ecff6a51 100644 --- a/plugins/lockdevice/lockdeviceplugin-win.cpp +++ b/plugins/lockdevice/lockdeviceplugin-win.cpp @@ -15,7 +15,6 @@ #include #include -#pragma comment(lib, "user32.lib") K_PLUGIN_CLASS_WITH_JSON(LockDevicePlugin, "kdeconnect_lockdevice.json")