Commit 33cb4830 authored by Edric Milaret's avatar Edric Milaret

slot: fix name of method not used by ui anymore

Qt auto-link this method with their name and so complain
since their not linked anymore

Regression introduced by 3338

Change-Id: Ib1ba23dc7b58cbb061b31671fd8caba3d68b0fa5
Tuleap: #148
parent bab169df
......@@ -436,19 +436,19 @@ CallWidget::placeCall()
}
void
CallWidget::on_settingsButton_clicked()
CallWidget::settingsButton_clicked()
{
emit NavigationRequested(ScreenEnum::ConfScreen);
}
void
CallWidget::on_contactButton_clicked(bool checked)
CallWidget::contactButton_clicked(bool checked)
{
ui->mainTabMenu->setCurrentIndex(checked ? 1 : 0);
}
void
CallWidget::on_historicButton_clicked(bool checked)
CallWidget::historicButton_clicked(bool checked)
{
ui->mainTabMenu->setCurrentIndex(checked ? 2 : 0);
}
......
......@@ -52,11 +52,12 @@ public:
~CallWidget();
void atExit();
public slots:
void contactButton_clicked(bool checked);
void settingsButton_clicked();
void historicButton_clicked(bool checked);
//UI SLOTS
public slots:
void on_contactButton_clicked(bool checked);
void on_settingsButton_clicked();
void on_historicButton_clicked(bool checked);
void on_ringContactLineEdit_returnPressed();
void on_btnCall_clicked();
void on_btnvideo_clicked();
......
......@@ -86,11 +86,11 @@ MainWindow::MainWindow(QWidget *parent) :
auto callWidget = static_cast<CallWidget*>(navStack_->getNavWidget(ScreenEnum::CallScreen));
connect(mwToolBar_->getSettingsButton(), &QAction::triggered,
callWidget, &CallWidget::on_settingsButton_clicked);
callWidget, &CallWidget::settingsButton_clicked);
connect(mwToolBar_->getHistoryButton(), &QAction::triggered,
callWidget, &CallWidget::on_historicButton_clicked);
callWidget, &CallWidget::historicButton_clicked);
connect(mwToolBar_->getContactListButton(), &QAction::triggered,
callWidget, &CallWidget::on_contactButton_clicked);
callWidget, &CallWidget::contactButton_clicked);
#ifdef ENABLE_AUTOUPDATE
win_sparkle_set_appcast_url("http://gpl.savoirfairelinux.net/ring-download/windows/winsparkle-ring.xml");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment