Change the re-run warning to a debug output

wilder-portage
Kurt Hindenburg 9 years ago
parent 2f14a4fb0e
commit 7a9c22b664
  1. 5
      src/Session.cpp

@ -55,6 +55,7 @@
#include "Vt102Emulation.h"
#include "ZModemDialog.h"
#include "History.h"
#include "konsoledebug.h"
using namespace Konsole;
@ -377,9 +378,9 @@ QString Session::shellSessionId() const
void Session::run()
{
// extra safeguard for potential bug.
// FIXME: run() is called twice in some instances
if (isRunning()) {
qWarning() << "Attempted to re-run an already running session.";
qCDebug(KonsoleDebug) << "Attempted to re-run an already running session (" << _shellProcess->pid() << ")";
return;
}

Loading…
Cancel
Save