Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 7841dedf authored by Hugo Pereira Da Costa's avatar Hugo Pereira Da Costa

0L -> nullptr

parent 7f6c0774
......@@ -206,7 +206,7 @@ namespace Breeze
//* returns first widget matching given class, or 0L if none
//* returns first widget matching given class, or nullptr if none
template<typename T> T findParent( const QWidget* ) const;
......@@ -317,11 +317,11 @@ namespace Breeze
T WindowManager::findParent( const QWidget* widget ) const
if( !widget ) return 0L;
if( !widget ) return nullptr;
for( QWidget* parent = widget->parentWidget(); parent; parent = parent->parentWidget() )
{ if( T cast = qobject_cast<T>(parent) ) return cast; }
return 0L;
return nullptr;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment