Commit 0e52d9a3 authored by Dirk Mueller's avatar Dirk Mueller

fix crashes (CID 3518)

svn path=/trunk/KDE/kdemultimedia/juk/; revision=666011
parent ffac224e
......@@ -724,7 +724,7 @@ void FileRenamerWidget::moveItem(int id, MovementDirection direction)
// be 2 spaces because of the checkbox.
QBoxLayout *layout = dynamic_cast<QBoxLayout *>(m_mainFrame->layout());
if ( layout )
if ( !layout )
return;
#ifdef __GNUC__
#warning double check if that still works with Qt4s layout
......
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