Commit 44851153 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Setting Panel: Removing a buggy method that does the exact opposite of what it's supposed to do.

parent fdcc4440
......@@ -77,13 +77,6 @@ void Panel::addButton( const char* name,
m_layout->insertWidget( m_layout->count() - 1, button );
}
void Panel::showEvent( QShowEvent *event )
{
// Reset the selection when the dialog is shown.
if ( !event->spontaneous() && !m_buttons->buttons().isEmpty() )
m_buttons->buttons().first()->setChecked( true );
}
void
Panel::retranslate()
{
......
......@@ -48,9 +48,6 @@ public:
int index );
void retranslate();
private:
virtual void showEvent( QShowEvent * );
private:
QVBoxLayout* m_layout;
QButtonGroup* m_buttons;
......
......@@ -37,6 +37,8 @@
#include <QScrollArea>
#include <QStackedLayout>
#include <QtDebug>
Settings::Settings( SettingsManager::Type type, QWidget *parent ) :
QDialog( parent ),
m_type( type )
......
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