Review changes

Changed text case, removed ClearText API and added GameStartup motify listening.

Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
This commit is contained in:
sphrose
2021-07-14 10:14:25 +01:00
parent 4c627405f2
commit 93cbb7c981
4 changed files with 23 additions and 13 deletions
+3 -2
View File
@@ -158,6 +158,7 @@ private:
class CConsoleSCB
: public QWidget
, private AzToolsFramework::EditorPreferencesNotificationBus::Handler
, public IEditorNotifyListener
{
Q_OBJECT
public:
@@ -174,8 +175,6 @@ public:
static void AddToPendingLines(const QString& text, bool bNewLine); // call this function instead of AddToConsole() until an instance of CConsoleSCB exists to prevent messages from getting lost
void ClearText();
// EditorPreferencesNotificationBus...
void OnEditorPreferencesChanged() override;
@@ -188,6 +187,8 @@ private Q_SLOTS:
void findNext();
private:
void OnEditorNotifyEvent(EEditorNotifyEvent event) override;
QScopedPointer<Ui::Console> ui;
int m_richEditTextLength;