Commit b7e00693 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf Committed by Ludovic Fauvet

Remove unneeded slot in library

Signed-off-by: default avatarLudovic Fauvet <etix@l0cal.com>
parent 08e5a31b
......@@ -43,7 +43,7 @@ StackViewController::StackViewController( QWidget* parent, bool enableImport ) :
{
m_importButton = new QPushButton( "Import", parent );
m_layout->addWidget( m_importButton );
connect( m_importButton, SIGNAL( clicked() ), this, SLOT( displayImportMenu() ) );
connect( m_importButton, SIGNAL( clicked() ), this, SIGNAL( importRequired() ) );
}
parent->setLayout( m_layout );
......@@ -114,7 +114,3 @@ const ViewController* StackViewController::getCurrentViewController() const
return m_current;
}
void StackViewController::displayImportMenu()
{
emit importRequired();
}
......@@ -57,7 +57,6 @@ private:
public slots:
void previous();
void displayImportMenu();
signals:
void importRequired();
......
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