summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2017-01-18 11:15:00 (GMT)
committerAleix Pol <aleixpol@kde.org>2017-01-18 11:15:00 (GMT)
commit3a055ea19d5f458ccf06a33c697fbcda7a7f14df (patch)
tree13ce9eab701a26ec10c12584cc584a3a93da9aa1
parentba278dc4dd4d7df4b6314bc88a87eef2dddded4c (diff)
Fix build
frameworks/konsole/src/Session.cpp:839:5: warning: 'not' is not defined, evaluates to 0 [-Wundef]
-rw-r--r--src/Session.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Session.cpp b/src/Session.cpp
index d63c8a0..482ee0b 100644
--- a/src/Session.cpp
+++ b/src/Session.cpp
@@ -836,7 +836,7 @@ void Session::sendTextToTerminal(const QString& text, const QChar& eol) const
// Only D-Bus calls this function (via SendText or runCommand)
void Session::sendText(const QString& text) const
{
-#if not defined(REMOVE_SENDTEXT_RUNCOMMAND_DBUS_METHODS)
+#if !defined(REMOVE_SENDTEXT_RUNCOMMAND_DBUS_METHODS)
if (show_disallow_certain_dbus_methods_message) {
KNotification::event(KNotification::Warning, "Konsole D-Bus Warning",