Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 4cf41db6 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark Committed by Kurt Hindenburg

don't allow running commands in read-only mode

parent 62f99d2a
......@@ -928,6 +928,10 @@ void Session::sendText(const QString& text) const
// Only D-Bus calls this function
void Session::runCommand(const QString& command) const
if (isReadOnly()) {
sendText(command + QLatin1Char('\n'));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment