Skip to content
Snippets Groups Projects
Commit 237a7be2 authored by Emmanuel Lepage's avatar Emmanuel Lepage
Browse files

[ #7876 ] Remove unneeded comments

parent 96bc3a75
No related branches found
No related tags found
No related merge requests found
...@@ -148,21 +148,20 @@ AccountView* AccountView::buildNewAccountFromAlias(const QString& alias) ...@@ -148,21 +148,20 @@ AccountView* AccountView::buildNewAccountFromAlias(const QString& alias)
///Change LED color ///Change LED color
void AccountView::updateState() void AccountView::updateState()
{ {
qDebug() << "updateState";
if(! isNew()) { if(! isNew()) {
Account::updateState(); Account::updateState();
AccountItemWidget * m_pWidget = getItemWidget(); AccountItemWidget * m_pWidget = getItemWidget();
if(getAccountDetail(ACCOUNT_ENABLED) != ACCOUNT_ENABLED_TRUE ) { if(getAccountDetail(ACCOUNT_ENABLED) != ACCOUNT_ENABLED_TRUE ) {
qDebug() << "m_pWidget->setState(AccountItemWidget::Unregistered);"; qDebug() << "Changing account state to Unregistered";
m_pWidget->setState(AccountItemWidget::Unregistered); m_pWidget->setState(AccountItemWidget::Unregistered);
} }
else if(getAccountDetail(ACCOUNT_STATUS) == ACCOUNT_STATE_REGISTERED || getAccountDetail(ACCOUNT_STATUS) == ACCOUNT_STATE_READY) { else if(getAccountDetail(ACCOUNT_STATUS) == ACCOUNT_STATE_REGISTERED || getAccountDetail(ACCOUNT_STATUS) == ACCOUNT_STATE_READY) {
qDebug() << "m_pWidget->setState(AccountItemWidget::Registered);"; qDebug() << "Changing account state to Registered";
m_pWidget->setState(AccountItemWidget::Registered); m_pWidget->setState(AccountItemWidget::Registered);
} }
else { else {
qDebug() << "m_pWidget->setState(AccountItemWidget::NotWorking);"; qDebug() << "Changing account state to NotWorking";
m_pWidget->setState(AccountItemWidget::NotWorking); m_pWidget->setState(AccountItemWidget::NotWorking);
} }
} }
......
...@@ -324,7 +324,6 @@ void SFLPhone::setObjectNames() ...@@ -324,7 +324,6 @@ void SFLPhone::setObjectNames()
///[Action]Hide sflphone ///[Action]Hide sflphone
bool SFLPhone::queryClose() bool SFLPhone::queryClose()
{ {
qDebug() << "queryClose";
hide(); hide();
return false; return false;
} }
...@@ -346,21 +345,18 @@ void SFLPhone::changeEvent(QEvent* event) ...@@ -346,21 +345,18 @@ void SFLPhone::changeEvent(QEvent* event)
///Change status message ///Change status message
void SFLPhone::on_m_pView_statusMessageChangeAsked(const QString & message) void SFLPhone::on_m_pView_statusMessageChangeAsked(const QString & message)
{ {
qDebug() << "on_m_pView_statusMessageChangeAsked : " + message;
m_pStatusBarWidget->setText(message); m_pStatusBarWidget->setText(message);
} }
///Change windowtitle ///Change windowtitle
void SFLPhone::on_m_pView_windowTitleChangeAsked(const QString & message) void SFLPhone::on_m_pView_windowTitleChangeAsked(const QString & message)
{ {
qDebug() << "on_m_pView_windowTitleChangeAsked : " + message;
setWindowTitle(message); setWindowTitle(message);
} }
///Enable or disable toolbar items ///Enable or disable toolbar items
void SFLPhone::on_m_pView_enabledActionsChangeAsked(const bool * enabledActions) void SFLPhone::on_m_pView_enabledActionsChangeAsked(const bool * enabledActions)
{ {
qDebug() << "on_m_pView_enabledActionsChangeAsked";
action_accept->setVisible ( enabledActions[SFLPhone::Accept ]); action_accept->setVisible ( enabledActions[SFLPhone::Accept ]);
action_refuse->setVisible ( enabledActions[SFLPhone::Refuse ]); action_refuse->setVisible ( enabledActions[SFLPhone::Refuse ]);
action_hold->setVisible ( enabledActions[SFLPhone::Hold ]); action_hold->setVisible ( enabledActions[SFLPhone::Hold ]);
...@@ -372,7 +368,6 @@ void SFLPhone::on_m_pView_enabledActionsChangeAsked(const bool * enabledActions) ...@@ -372,7 +368,6 @@ void SFLPhone::on_m_pView_enabledActionsChangeAsked(const bool * enabledActions)
///Change icons ///Change icons
void SFLPhone::on_m_pView_actionIconsChangeAsked(const QString * actionIcons) void SFLPhone::on_m_pView_actionIconsChangeAsked(const QString * actionIcons)
{ {
qDebug() << "on_m_pView_actionIconsChangeAsked";
action_accept->setIcon ( QIcon(actionIcons[SFLPhone::Accept ])); action_accept->setIcon ( QIcon(actionIcons[SFLPhone::Accept ]));
action_refuse->setIcon ( QIcon(actionIcons[SFLPhone::Refuse ])); action_refuse->setIcon ( QIcon(actionIcons[SFLPhone::Refuse ]));
action_hold->setIcon ( QIcon(actionIcons[SFLPhone::Hold ])); action_hold->setIcon ( QIcon(actionIcons[SFLPhone::Hold ]));
...@@ -384,7 +379,6 @@ void SFLPhone::on_m_pView_actionIconsChangeAsked(const QString * actionIcons) ...@@ -384,7 +379,6 @@ void SFLPhone::on_m_pView_actionIconsChangeAsked(const QString * actionIcons)
///Change text ///Change text
void SFLPhone::on_m_pView_actionTextsChangeAsked(const QString * actionTexts) void SFLPhone::on_m_pView_actionTextsChangeAsked(const QString * actionTexts)
{ {
qDebug() << "on_m_pView_actionTextsChangeAsked";
action_accept->setText ( actionTexts[SFLPhone::Accept ]); action_accept->setText ( actionTexts[SFLPhone::Accept ]);
action_refuse->setText ( actionTexts[SFLPhone::Refuse ]); action_refuse->setText ( actionTexts[SFLPhone::Refuse ]);
action_hold->setText ( actionTexts[SFLPhone::Hold ]); action_hold->setText ( actionTexts[SFLPhone::Hold ]);
...@@ -396,14 +390,12 @@ void SFLPhone::on_m_pView_actionTextsChangeAsked(const QString * actionTexts) ...@@ -396,14 +390,12 @@ void SFLPhone::on_m_pView_actionTextsChangeAsked(const QString * actionTexts)
///Change transfer state ///Change transfer state
void SFLPhone::on_m_pView_transferCheckStateChangeAsked(bool transferCheckState) void SFLPhone::on_m_pView_transferCheckStateChangeAsked(bool transferCheckState)
{ {
qDebug() << "Changing transfer action checkState";
action_transfer->setChecked(transferCheckState); action_transfer->setChecked(transferCheckState);
} }
///Change record state ///Change record state
void SFLPhone::on_m_pView_recordCheckStateChangeAsked(bool recordCheckState) void SFLPhone::on_m_pView_recordCheckStateChangeAsked(bool recordCheckState)
{ {
qDebug() << "Changing record action checkState";
action_record->setChecked(recordCheckState); action_record->setChecked(recordCheckState);
} }
...@@ -411,7 +403,6 @@ void SFLPhone::on_m_pView_recordCheckStateChangeAsked(bool recordCheckState) ...@@ -411,7 +403,6 @@ void SFLPhone::on_m_pView_recordCheckStateChangeAsked(bool recordCheckState)
/// @deprecated This function can be removed /// @deprecated This function can be removed
void SFLPhone::on_m_pView_screenChanged(int screen) void SFLPhone::on_m_pView_screenChanged(int screen)
{ {
qDebug() << "on_m_pView_screenChanged";
if(screen == SCREEN_MAIN) action_main->setChecked(true); if(screen == SCREEN_MAIN) action_main->setChecked(true);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment