Commit 1c8ba770 authored by Kurt Hindenburg's avatar Kurt Hindenburg

Correct slot called for changing tab text color - not implemented

Previously, the signal was attached to another signal; the actual code
has not been implemented in 10+ years.

CCBUG: https://bugs.kde.org/show_bug.cgi?id=404457
parent b792c52f
......@@ -123,7 +123,7 @@ Session::Session(QObject* parent) :
connect(_emulation, &Konsole::Emulation::stateSet, this, &Konsole::Session::activityStateSet);
connect(_emulation, &Konsole::Emulation::zmodemDownloadDetected, this, &Konsole::Session::fireZModemDownloadDetected);
connect(_emulation, &Konsole::Emulation::zmodemUploadDetected, this, &Konsole::Session::fireZModemUploadDetected);
connect(_emulation, &Konsole::Emulation::changeTabTextColorRequest, this, &Konsole::Session::changeTabTextColorRequest);
connect(_emulation, &Konsole::Emulation::changeTabTextColorRequest, this, &Konsole::Session::changeTabTextColor);
connect(_emulation, &Konsole::Emulation::profileChangeCommandReceived, this, &Konsole::Session::profileChangeCommandReceived);
connect(_emulation, &Konsole::Emulation::flowControlKeyPressed, this, &Konsole::Session::updateFlowControlState);
connect(_emulation, &Konsole::Emulation::primaryScreenInUse, this, &Konsole::Session::onPrimaryScreenInUse);
......@@ -657,6 +657,11 @@ void Session::updateFlowControlState(bool suspended)
}
}
void Session::changeTabTextColor(int i)
{
qCDebug(KonsoleDebug) << "Changing tab text color is not implemented "<<i;
}
void Session::onPrimaryScreenInUse(bool use)
{
......
......@@ -630,13 +630,6 @@ Q_SIGNALS:
/** Emitted when a bell event occurs in the session. */
void bellRequest(const QString &message);
/**
* Requests that the color the text for any tabs associated with
* this session should be changed;
*
* TODO: Document what the parameter does
*/
void changeTabTextColorRequest(int);
/**
* Requests that the background color of views on this session
......@@ -738,6 +731,14 @@ private Q_SLOTS:
void sessionAttributeRequest(int id);
/**
* Requests that the color the text for any tabs associated with
* this session should be changed;
*
* TODO: Document what the parameter does
*/
void changeTabTextColor(int);
private:
Q_DISABLE_COPY(Session)
......
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