summaryrefslogtreecommitdiffstats
path: root/src/gui/idlesession_inhibitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/idlesession_inhibitor.h')
-rw-r--r--src/gui/idlesession_inhibitor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/idlesession_inhibitor.h b/src/gui/idlesession_inhibitor.h
index cd41494..812e0a0 100644
--- a/src/gui/idlesession_inhibitor.h
+++ b/src/gui/idlesession_inhibitor.h
@@ -67,6 +67,9 @@ private:
// Send an (un)inhibit request via D-Bus
void sendRequest(bool inhibit);
+
+ // Display and log a warning
+ void issueWarning(const QString &msg) const;
};
#endif // IDLESESSION_INHIBITOR_H