mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-14 10:05:32 +02:00
Send invite on returnPressed.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
||||||
*
|
*
|
||||||
* Copyright 2012 Teo Mrnjavac <teo@kde.org>
|
* Copyright 2012-2013, Teo Mrnjavac <teo@kde.org>
|
||||||
*
|
*
|
||||||
* Tomahawk is free software: you can redistribute it and/or modify
|
* Tomahawk is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@@ -292,6 +292,8 @@ AccountWidget::setupConnections( const QPersistentModelIndex& idx, int accountId
|
|||||||
this, SLOT( changeAccountConnectionState( bool ) ) );
|
this, SLOT( changeAccountConnectionState( bool ) ) );
|
||||||
connect( m_inviteButton, SIGNAL( clicked() ),
|
connect( m_inviteButton, SIGNAL( clicked() ),
|
||||||
this, SLOT( sendInvite() ) );
|
this, SLOT( sendInvite() ) );
|
||||||
|
connect( m_inviteEdit, SIGNAL( returnPressed() ),
|
||||||
|
this, SLOT( sendInvite() ) );
|
||||||
|
|
||||||
m_inviteEdit->setPlaceholderText( account->sipPlugin()->inviteString() );
|
m_inviteEdit->setPlaceholderText( account->sipPlugin()->inviteString() );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user