mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 01:08:50 -04:00
Fix compile with qt < 4.7
Reenable placeholder text for lobby name, not sure why it was disabled
This commit is contained in:
parent
c844d37ada
commit
b43e0ab2e0
2 changed files with 5 additions and 10 deletions
|
@ -47,11 +47,10 @@ CreateLobbyDialog::CreateLobbyDialog(const std::set<RsPeerId>& peer_list, int pr
|
|||
|
||||
ui->idChooser_CB->loadIds(IDCHOOSER_ID_REQUIRED, default_identity);
|
||||
|
||||
//#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::fromUtf8(default_nick.c_str())) ;
|
||||
#if QT_VERSION >= 0x040700
|
||||
ui->lobbyName_LE->setPlaceholderText(tr("Put a sensible lobby name here"));
|
||||
ui->lobbyTopic_LE->setPlaceholderText(tr("Set a descriptive topic here"));
|
||||
#endif
|
||||
|
||||
connect( ui->buttonBox, SIGNAL(accepted()), this, SLOT(createLobby()));
|
||||
connect( ui->buttonBox, SIGNAL(rejected()), this, SLOT(close()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue