mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed compilation for Qt<4.7
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4741 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
60bb76e3df
commit
ed395fe061
@ -39,8 +39,10 @@ CreateLobbyDialog::CreateLobbyDialog(const std::list<std::string>& peer_list,QWi
|
|||||||
std::string default_nick ;
|
std::string default_nick ;
|
||||||
rsMsgs->getDefaultNickNameForChatLobby(default_nick) ;
|
rsMsgs->getDefaultNickNameForChatLobby(default_nick) ;
|
||||||
|
|
||||||
|
#if QT_VERSION >= 0x040700
|
||||||
ui->lobbyName_LE->setPlaceholderText(tr("Put a sensible lobby name here")) ;
|
ui->lobbyName_LE->setPlaceholderText(tr("Put a sensible lobby name here")) ;
|
||||||
ui->nickName_LE->setPlaceholderText(tr("Your nickname for this lobby (Change default name in options->chat)")) ;
|
ui->nickName_LE->setPlaceholderText(tr("Your nickname for this lobby (Change default name in options->chat)")) ;
|
||||||
|
#endif
|
||||||
ui->nickName_LE->setText(QString::fromStdString(default_nick)) ;
|
ui->nickName_LE->setText(QString::fromStdString(default_nick)) ;
|
||||||
|
|
||||||
connect( ui->shareButton, SIGNAL( clicked ( bool ) ), this, SLOT( createLobby( ) ) );
|
connect( ui->shareButton, SIGNAL( clicked ( bool ) ), this, SLOT( createLobby( ) ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user