Hello! I use Qt5. My problem is nex: i want to send a signal from file "Scene"

Scene.h

Qt Code:
  1. signals:
  2. void signalShowStatus( const int & );
  3.  
  4. private:
  5. void sendStatus();
To copy to clipboard, switch view to plain text mode 

Scene.cpp

Qt Code:
  1. void Scene::sendStatus()
  2. {
  3. int N = m_game.segment();\\ m_game.segment() steadily increasing
  4. emit signalShowStatus( N );
  5. }
To copy to clipboard, switch view to plain text mode 

to file "mainwindow"

mainwindow.h

Qt Code:
  1. private slots:
  2. void slotSetStatus( const int &N );
To copy to clipboard, switch view to plain text mode 

mainwindow.cpp

Qt Code:
  1. MainWindow::MainWindow(QWidget *parent) :
  2. QMainWindow(parent),
  3. ui(new Ui::MainWindow)
  4. {
  5. connect( ui->widget , SIGNAL( signalShowStatus( int ) ),
  6. this, SLOT( slotSetStatus( int ) ) );
  7. }
  8.  
  9. void MainWindow::slotSetStatus( const int &N )
  10. {
  11.  
  12. ui->lcdnumber->display( N );
  13.  
  14. }
To copy to clipboard, switch view to plain text mode 

Without fault, but does not count on widget. Where did I go wrong?
Thanks)