Allow border on docks- use QFrame (#1054)
This commit is contained in:
parent
915f195e70
commit
3a998ec844
2 changed files with 2 additions and 2 deletions
|
@ -163,7 +163,7 @@ private:
|
|||
|
||||
\sa DockLayout and DockPlaceholder classes.
|
||||
*/
|
||||
class DVAPI DockWidget : public QWidget {
|
||||
class DVAPI DockWidget : public QFrame {
|
||||
friend class DockLayout; // DockLayout is granted access to placeholders'
|
||||
// privates
|
||||
friend class DockPlaceholder; // As above.
|
||||
|
|
|
@ -105,7 +105,7 @@ inline void DockLayout::update() {
|
|||
//! (i.e. not docked
|
||||
//! into the layout).
|
||||
DockWidget::DockWidget(QWidget *parent, Qt::WindowFlags flags)
|
||||
: QWidget(parent, flags)
|
||||
: QFrame(parent, flags)
|
||||
, m_dragging(false)
|
||||
, m_resizing(false)
|
||||
, m_floating(true)
|
||||
|
|
Loading…
Reference in a new issue