Commit 055db2b9 authored by Christoph Feck's avatar Christoph Feck

remove Qt::WFlags usage

parent 3fa7322c
......@@ -201,7 +201,7 @@ void setPaletteColor(QWidget* w, QPalette::ColorRole r, const QColor& c)
w->setPalette(p);
}
KMagSelWin::KMagSelWin ( QWidget * parent, Qt::WFlags ) :
KMagSelWin::KMagSelWin ( QWidget * parent ) :
QWidget(parent) //Qt::WStyle_Customize | Qt::WStyle_NoBorder | Qt::WStyle_StaysOnTop | Qt::WType_TopLevel | Qt::WX11BypassWM)
{
setWindowFlags( Qt::CustomizeWindowHint | Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | Qt::X11BypassWindowManagerHint);
......@@ -349,8 +349,8 @@ void KMagSelWin::bottomRightResized (const QPoint &offset)
// KMagSelWinCorner
//--------------------------------------------------------------------------
KMagSelWinCorner::KMagSelWinCorner ( QWidget * parent, Qt::WFlags f ) :
QLabel (parent, f)
KMagSelWinCorner::KMagSelWinCorner ( QWidget * parent ) :
QLabel (parent)
{
setFrameStyle (QFrame::WinPanel | QFrame::Raised);
setLineWidth (1);
......
......@@ -34,7 +34,7 @@ class KMagSelWinCorner : public QLabel
public:
explicit KMagSelWinCorner ( QWidget * parent = 0, Qt::WFlags f = 0 );
explicit KMagSelWinCorner ( QWidget * parent = 0 );
virtual ~KMagSelWinCorner();
......@@ -58,7 +58,7 @@ class KMagSelWin : public QWidget
public:
explicit KMagSelWin ( QWidget * parent = 0, Qt::WFlags f = 0 );
explicit KMagSelWin ( QWidget * parent = 0 );
virtual ~KMagSelWin();
......
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