FloatingWindow now receives MainWindow as argument
Instead of a generic QWidget. Only works with main window so let's just use the right type
This commit is contained in:
@@ -30,14 +30,14 @@
|
||||
|
||||
using namespace KDDockWidgets;
|
||||
|
||||
FloatingWindowWidget::FloatingWindowWidget(QWidget *parent)
|
||||
FloatingWindowWidget::FloatingWindowWidget(MainWindowBase *parent)
|
||||
: FloatingWindow(parent)
|
||||
, m_vlayout(new QVBoxLayout(this))
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
FloatingWindowWidget::FloatingWindowWidget(Frame *frame, QWidget *parent)
|
||||
FloatingWindowWidget::FloatingWindowWidget(Frame *frame, MainWindowBase *parent)
|
||||
: FloatingWindow(frame, parent)
|
||||
, m_vlayout(new QVBoxLayout(this))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user