mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 15:15:15 -04:00
Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated. Some lines are wrong indented and produce mal formed code.
This commit is contained in:
parent
74aa55e347
commit
674b6de381
63 changed files with 379 additions and 346 deletions
|
@ -693,10 +693,10 @@ static bool caseInsensitiveCompare(QString a, QString b)
|
|||
void ChatWidget::completeNickname(bool reverse)
|
||||
{
|
||||
// Find lobby we belong to
|
||||
ChatLobbyInfo lobby ;
|
||||
ChatLobbyInfo lobby;
|
||||
|
||||
if(! rsMsgs->getChatLobbyInfo(chatId.toLobbyId(),lobby))
|
||||
return ;
|
||||
if (! rsMsgs->getChatLobbyInfo(chatId.toLobbyId(),lobby))
|
||||
return;
|
||||
|
||||
QTextCursor cursor = ui->chatTextEdit->textCursor();
|
||||
|
||||
|
@ -1096,8 +1096,7 @@ void ChatWidget::updateStatusTyping()
|
|||
|
||||
void ChatWidget::updateLenOfChatTextEdit()
|
||||
{
|
||||
if(sendingBlocked)
|
||||
return;
|
||||
if(sendingBlocked) return;
|
||||
|
||||
QTextEdit *chatWidget = ui->chatTextEdit;
|
||||
QString text;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue