Don't flicker when showing a floating dock widget
Create the FloatingWindow directly, instead of creating the DockWidget then reparenting it
This commit is contained in:
@@ -257,6 +257,9 @@ public:
|
||||
*/
|
||||
QString affinityName() const;
|
||||
|
||||
/// @brief Equivalent to QWidget::show(), but it's optimized to reduce flickering on some platforms
|
||||
void show();
|
||||
|
||||
Q_SIGNALS:
|
||||
///@brief signal emitted when the parent changed
|
||||
void parentChanged();
|
||||
|
||||
Reference in New Issue
Block a user