|
|
@ -293,8 +293,8 @@ void Tray::contextMenuAboutToShow (TDEPopupMenu* menu)
|
|
|
|
else if ( devices == 1 )
|
|
|
|
else if ( devices == 1 )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
newConnAction = actionCollection ()->action ("new_connection");
|
|
|
|
newConnAction = actionCollection ()->action ("new_connection");
|
|
|
|
TQT_BASE_OBJECT_NAME::disconnect( newConnAction, TQT_SIGNAL(activated()) );
|
|
|
|
TQObject::disconnect( newConnAction, TQT_SIGNAL(activated()) );
|
|
|
|
TQT_BASE_OBJECT_NAME::connect( newConnAction, TQT_SIGNAL(activated()), d->trayComponents[0], TQT_SLOT(newConnection()));
|
|
|
|
TQObject::connect( newConnAction, TQT_SIGNAL(activated()), d->trayComponents[0], TQT_SLOT(newConnection()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (newConnAction) {
|
|
|
|
if (newConnAction) {
|
|
|
|
newConnAction->plug(menu);
|
|
|
|
newConnAction->plug(menu);
|
|
|
|