mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-02-04 09:37:32 +00:00
Do not include QHotKey header on non-Mac system
QHotKey is only used on macOS. As a result, do not unconditionally include QHotKey headers.
This commit is contained in:
@@ -16,7 +16,11 @@
|
||||
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "controller.h"
|
||||
|
||||
#if defined(Q_OS_MACOS)
|
||||
#include "external/QHotkey/QHotkey"
|
||||
#endif
|
||||
|
||||
#include "src/config/configwindow.h"
|
||||
#include "src/core/qguiappcurrentscreen.h"
|
||||
#include "src/utils/confighandler.h"
|
||||
|
||||
Reference in New Issue
Block a user