summaryrefslogtreecommitdiff
path: root/src/widgets/kernel/qlayoutitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/kernel/qlayoutitem.cpp')
-rw-r--r--src/widgets/kernel/qlayoutitem.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/widgets/kernel/qlayoutitem.cpp b/src/widgets/kernel/qlayoutitem.cpp
index af5750771d..8a0cdc2a64 100644
--- a/src/widgets/kernel/qlayoutitem.cpp
+++ b/src/widgets/kernel/qlayoutitem.cpp
@@ -360,11 +360,7 @@ QSpacerItem * QSpacerItem::spacerItem()
\sa layout(), spacerItem()
*/
-#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
-QWidget *QLayoutItem::widget()
-#else
QWidget *QLayoutItem::widget() const
-#endif
{
return nullptr;
}
@@ -372,11 +368,7 @@ QWidget *QLayoutItem::widget() const
/*!
Returns the widget managed by this item.
*/
-#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
-QWidget *QWidgetItem::widget()
-#else
QWidget *QWidgetItem::widget() const
-#endif
{
return wid;
}