File: upstream_Include-QTimer.patch

package info (click to toggle)
tokodon 25.12.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,680 kB
  • sloc: cpp: 20,611; xml: 393; python: 160; java: 75; sh: 11; makefile: 11
file content (28 lines) | stat: -rw-r--r-- 723 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From de798456ff668f39a447f884eac9780e3f528238 Mon Sep 17 00:00:00 2001
From: Pino Toscano <pino@kde.org>
Date: Sat, 17 Jan 2026 09:15:28 +0100
Subject: [PATCH] Include <QTimer>

Even if it is needed in a HAVE_KUNIFIEDPUSH block, include it
unconditionally as it comes from QtCore, and avoids more #ifdef mess.

(cherry picked from commit 2a9028ed9604780d0b9e8eb8caf2cd27011a3384)
---
 src/main.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main.cpp b/src/main.cpp
index 1c137b24..2b98e7dc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -5,6 +5,7 @@
 #include <QQmlApplicationEngine>
 #include <QQuickStyle>
 #include <QQuickWindow>
+#include <QTimer>
 #include <QUrlQuery>
 
 #ifdef HAVE_WEBVIEW
-- 
2.51.0