Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lintest/fb2edit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/fb2text.cpp')
-rw-r--r--source/fb2text.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fb2text.cpp b/source/fb2text.cpp
index e47ce61..165ec68 100644
--- a/source/fb2text.cpp
+++ b/source/fb2text.cpp
@@ -77,7 +77,7 @@ void FbTextAction::disconnectAction()
FbDockWidget::FbDockWidget(const QString &title, QWidget *parent, Qt::WindowFlags flags)
: QDockWidget(title, parent, flags)
{
- setFeatures(QDockWidget::AllDockWidgetFeatures);
+ setFeatures(QDockWidget::DockWidgetClosable|QDockWidget::DockWidgetMovable|QDockWidget::DockWidgetFloatable);
setAttribute(Qt::WA_DeleteOnClose);
}
@@ -424,7 +424,7 @@ void FbTextEdit::viewInspector(bool show)
QWebInspector *inspector = new QWebInspector(this);
inspector->setPage(page());
dockInsp = new QDockWidget(tr("Web inspector"), this);
- dockInsp->setFeatures(QDockWidget::AllDockWidgetFeatures);
+ dockInsp->setFeatures(QDockWidget::DockWidgetClosable|QDockWidget::DockWidgetMovable|QDockWidget::DockWidgetFloatable);
dockInsp->setWidget(inspector);
connect(dockInsp, SIGNAL(visibilityChanged(bool)), act(Fb::ViewInspector), SLOT(setChecked(bool)));
m_owner->addDockWidget(Qt::BottomDockWidgetArea, dockInsp);