this dialog is meant to always be borderless

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=869680
This commit is contained in:
Aaron J. Seigo 2008-10-09 18:48:53 +00:00
parent f7f4a8e821
commit eff56fa372

View File

@ -130,6 +130,7 @@ Dialog::Dialog( QWidget * parent, Qt::WindowFlags f )
: QWidget(parent, f), : QWidget(parent, f),
d(new DialogPrivate(this)) d(new DialogPrivate(this))
{ {
setWindowFlags(Qt::FramelessWindowHint);
d->background = new PanelSvg(this); d->background = new PanelSvg(this);
d->background->setImagePath("dialogs/background"); d->background->setImagePath("dialogs/background");
d->background->setEnabledBorders(PanelSvg::AllBorders); d->background->setEnabledBorders(PanelSvg::AllBorders);