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:
csoler 2011-12-27 21:06:43 +00:00
parent 60bb76e3df
commit ed395fe061

View File

@ -39,8 +39,10 @@ CreateLobbyDialog::CreateLobbyDialog(const std::list<std::string>& peer_list,QWi
std::string default_nick ;
rsMsgs->getDefaultNickNameForChatLobby(default_nick) ;
#if QT_VERSION >= 0x040700
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)")) ;
#endif
ui->nickName_LE->setText(QString::fromStdString(default_nick)) ;
connect( ui->shareButton, SIGNAL( clicked ( bool ) ), this, SLOT( createLobby( ) ) );