From 67611d10d12f417eff9c2708fbbfe505ee06d045 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 1 Aug 2012 22:13:52 +0200 Subject: [PATCH] Added a styled separator line in the Settings Dialog. --- src/SettingsDialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SettingsDialog.cpp b/src/SettingsDialog.cpp index 7e9c07293..024e8a603 100644 --- a/src/SettingsDialog.cpp +++ b/src/SettingsDialog.cpp @@ -82,6 +82,11 @@ SettingsDialog::SettingsDialog( QWidget *parent ) ui->checkBoxReporter->setChecked( s->crashReporterEnabled() ); ui->checkBoxHttp->setChecked( s->httpEnabled() ); + QFrame *sepLine = new QFrame( this ); + sepLine->setFrameShape( QFrame::HLine ); + sepLine->setFrameShadow( QFrame::Sunken ); + ui->horizontalLayout->insertWidget( 0, sepLine ); + m_toolBar = new QToolBar( tr( "Tomahawk Settings" ), this ); ui->horizontalLayout->insertWidget( 0, m_toolBar ); m_toolBar->setToolButtonStyle( Qt::ToolButtonTextUnderIcon );