diff options
| author | Emmanuel Pescosta <[email protected]> | 2015-02-03 09:25:33 +0100 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2015-02-03 09:25:33 +0100 |
| commit | 3515582495f9aa02369a342d73c11079fcdcd654 (patch) | |
| tree | c7e9a855e137c773b09942ff1a5d7302c562ac14 /src/panels/information/phononwidget.cpp | |
| parent | 122e1c6288b7330ab1eb38cdd7361efb5c092876 (diff) | |
Ported Dolphin from KDialog to QDialog and save/restoreDialogSize to KWindowConfig::save/restoreWindowSize with the help of the porting scripts.
REVIEW: 122305
Diffstat (limited to 'src/panels/information/phononwidget.cpp')
| -rw-r--r-- | src/panels/information/phononwidget.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/panels/information/phononwidget.cpp b/src/panels/information/phononwidget.cpp index 215be200a..1d6361f19 100644 --- a/src/panels/information/phononwidget.cpp +++ b/src/panels/information/phononwidget.cpp @@ -30,8 +30,7 @@ #include <QHBoxLayout> #include <QShowEvent> #include <QToolButton> - -#include <KDialog> +#include <QDialog> #include <QIcon> #include <KIconLoader> #include <QUrl> @@ -109,7 +108,7 @@ void PhononWidget::showEvent(QShowEvent *event) if (!m_topLayout) { m_topLayout = new QVBoxLayout(this); m_topLayout->setMargin(0); - m_topLayout->setSpacing(KDialog::spacingHint()); + QHBoxLayout *controlsLayout = new QHBoxLayout(this); controlsLayout->setMargin(0); controlsLayout->setSpacing(0); |
