Terminal: Add icons to tabs

Change-Id: Id219366de16944daf83c3eb154d6b087c79b7fd9
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Orgad Shaneh
2023-07-03 14:33:21 +03:00
committed by Orgad Shaneh
parent 9a7f45cc46
commit 2f6f9d2d33
4 changed files with 34 additions and 17 deletions

View File

@@ -8,6 +8,8 @@
#include "filepath.h"
#include "id.h"
#include <QIcon>
#include <functional>
#include <memory>
@@ -58,6 +60,7 @@ struct OpenTerminalParameters
std::optional<CommandLine> shellCommand;
std::optional<FilePath> workingDirectory;
std::optional<Environment> environment;
QIcon icon;
ExitBehavior m_exitBehavior{ExitBehavior::Close};
std::optional<Id> identifier{std::nullopt};
};