┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindockwidget.cpp
diff options
context:
space:
mode:
authorTomaz Canabrava <[email protected]>2018-06-22 16:03:48 +0200
committerTomaz Canabrava <[email protected]>2018-06-22 16:17:47 +0200
commit088e692007363bb2c8cd98487cc36ad63186b2d4 (patch)
treed25b4c583e1bbb68bfdd23a114a40cecc85a7d9d /src/dolphindockwidget.cpp
parent6b72c67b096f23a40fa9a98617742560002f33c2 (diff)
don't use temporaries when uneeded
Summary: Remove unused variable Compiled, Run. Trash still there. Use copy ellision Remove uneeded code Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D13680
Diffstat (limited to 'src/dolphindockwidget.cpp')
-rw-r--r--src/dolphindockwidget.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/dolphindockwidget.cpp b/src/dolphindockwidget.cpp
index 726338377..32d25702a 100644
--- a/src/dolphindockwidget.cpp
+++ b/src/dolphindockwidget.cpp
@@ -58,14 +58,6 @@ DolphinDockWidget::DolphinDockWidget(const QString& title, QWidget* parent, Qt::
setFeatures(DefaultDockWidgetFeatures);
}
-DolphinDockWidget::DolphinDockWidget(QWidget* parent, Qt::WindowFlags flags) :
- QDockWidget(parent, flags),
- m_locked(false),
- m_dockTitleBar(nullptr)
-{
- setFeatures(DefaultDockWidgetFeatures);
-}
-
DolphinDockWidget::~DolphinDockWidget()
{
}