[Bug 379245] Re: kpovmodeler disables object links

Jeff jrh2365 at rit.edu
Tue Nov 17 19:56:37 UTC 2009


I've never worked with QT or on any packages before, but this bug was
annoying me so I thought I'd take a look at it.

The important output from the note above is:
Object::connect: No such signal QListWidget::itemActivated( Q3ListBoxItem* )

In 'pmobjectselect.cpp', changing the line:
connect( m_pListWidget, SIGNAL( itemActivated( Q3ListBoxItem* ) ), SLOT( slotActivated( Q3ListBoxItem* ) ) );
to:
connect( m_pListWidget, SIGNAL( itemActivated( QListWidgetItem* ) ), SLOT( slotActivated( QListWidgetItem* ) ) );
seems to fix the problem (both occurrences of 'Q3ListBoxItem' --> 'QListWidgetItem')

Without that change, PMObjectSelect::slotActivated is never called, so
the button is never enabled and m_pSelectedObject is never set.

Hope this helps.

-- 
kpovmodeler disables object links
https://bugs.launchpad.net/bugs/379245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list