Skip to content

Commit dba1473

Browse files
committed
fix: include declarations
The QProcess header needs to be included here, for QTimer usage in the header a forward declaration is enough. These are both regressions due to changes in Qt.
1 parent 28f0ec1 commit dba1473

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

kcm/kcm.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3232
#include <KPluginFactory>
3333
#include <KSharedConfig>
3434

35+
#include <QProcess>
3536
#include <QTimer>
3637

3738
K_PLUGIN_CLASS_WITH_JSON(KCMKDisplay, "kcm_kdisplay.json")

kcm/kcm.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2020

2121
#include <KQuickManagedConfigModule>
2222

23+
class QTimer;
24+
2325
namespace Disman
2426
{
2527
class ConfigOperation;

0 commit comments

Comments
 (0)