refs #477, load indicator appears in wrong place.

A first improvement by re-centering it when view becomes visible.
This commit is contained in:
Klaus Basan
2015-10-02 14:57:12 +02:00
committed by Mathew Sutcliffe
parent 6fda875e8f
commit 42304f640b
4 changed files with 36 additions and 6 deletions

View File

@@ -96,6 +96,9 @@ namespace BlackGui
//! \copydoc QWidget::paintEvent
virtual void paintEvent(QPaintEvent *event) override;
//! Is parent widget visible
bool isParentVisible() const;
private:
int m_angle = 0;
int m_timerId = -1;