aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/outputwindow.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-01-08 14:33:02 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2020-01-08 14:11:01 +0000
commit74d3b3600ccd6ccc379dda09f5a99d23703d70cf (patch)
treee016a5192c823df3c2a26556a51843fa44762c1f /src/plugins/coreplugin/outputwindow.h
parentf188622704741a9de68c26b6ddf5274197706213 (diff)
ProjectExplorer: Fix copying filtered-out text
Invisible blocks must be excluded. Fixes: QTCREATORBUG-23425 Change-Id: I93a253bd47820d6eb6feea90056c76091e376070 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/outputwindow.h')
-rw-r--r--src/plugins/coreplugin/outputwindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/coreplugin/outputwindow.h b/src/plugins/coreplugin/outputwindow.h
index a8a44a5247..8490caa5d4 100644
--- a/src/plugins/coreplugin/outputwindow.h
+++ b/src/plugins/coreplugin/outputwindow.h
@@ -66,8 +66,6 @@ public:
void grayOutOldContent();
void clear();
- void showEvent(QShowEvent *) override;
-
void scrollToBottom();
void setMaxCharCount(int count);
@@ -94,14 +92,16 @@ public slots:
protected:
bool isScrollbarAtBottom() const;
+private:
+ QMimeData *createMimeDataFromSelection() const override;
+ void keyPressEvent(QKeyEvent *ev) override;
void mousePressEvent(QMouseEvent *e) override;
void mouseReleaseEvent(QMouseEvent *e) override;
void mouseMoveEvent(QMouseEvent *e) override;
void resizeEvent(QResizeEvent *e) override;
- void keyPressEvent(QKeyEvent *ev) override;
+ void showEvent(QShowEvent *) override;
void wheelEvent(QWheelEvent *e) override;
-private:
using QPlainTextEdit::setFont; // call setBaseFont instead, which respects the zoom factor
QTimer m_scrollTimer;
QElapsedTimer m_lastMessage;