mirror of
https://github.com/KDE/konsole.git
synced 2026-06-18 02:39:14 -04:00
Make the the icon used for master/broadcasting mode a static member
This commit is contained in:
@@ -73,6 +73,7 @@ using namespace Konsole;
|
||||
// activity are available
|
||||
KIcon SessionController::_activityIcon("dialog-information");
|
||||
KIcon SessionController::_silenceIcon("dialog-information");
|
||||
KIcon SessionController::_broadcastIcon("emblem-important");
|
||||
|
||||
QSet<SessionController*> SessionController::_allControllers;
|
||||
//QPointer<SearchHistoryThread> SearchHistoryTask::_thread;
|
||||
@@ -1074,7 +1075,7 @@ void SessionController::updateSessionIcon()
|
||||
// Visualize that the session is broadcasting to others
|
||||
if (_copyToGroup && _copyToGroup->sessions().count() > 1) {
|
||||
// Master Mode: set different icon, to warn the user to be careful
|
||||
setIcon(KIcon("emblem-important"));
|
||||
setIcon(_broadcastIcon);
|
||||
} else {
|
||||
// Not in Master Mode: use normal icon
|
||||
setIcon(_sessionIcon);
|
||||
|
||||
Reference in New Issue
Block a user