diff --git a/clients/b2/b2client.h b/clients/b2/b2client.h index e5f8960f7b..cceb888c87 100644 --- a/clients/b2/b2client.h +++ b/clients/b2/b2client.h @@ -9,7 +9,6 @@ #ifndef __B2CLIENT_H #define __B2CLIENT_H -#include #include #include #include diff --git a/clients/kwmtheme/kwmthemeclient.cpp b/clients/kwmtheme/kwmthemeclient.cpp index 7ef2723efa..785d451843 100644 --- a/clients/kwmtheme/kwmthemeclient.cpp +++ b/clients/kwmtheme/kwmthemeclient.cpp @@ -147,9 +147,9 @@ static void create_pixmaps() titleAlign = Qt::AlignCenter; else titleAlign = Qt::AlignLeft | Qt::AlignVCenter; - titleSunken = config.readEntry("TitleFrameShaded", QVariant(true)).toBool(); + titleSunken = config.readEntry("TitleFrameShaded", true ); // titleSunken = true; // is this fixed? - titleTransparent = config.readEntry("PixmapUnderTitleText", QVariant(true)).toBool(); + titleTransparent = config.readEntry("PixmapUnderTitleText", true); tmpStr = config.readEntry("TitlebarLook"); if(tmpStr == "shadedVertical"){ diff --git a/workspace.cpp b/workspace.cpp index 03dc3f584e..1a8dfd369d 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -2475,7 +2475,7 @@ void Workspace::helperDialog( const QString& message, const Client* c ) { KConfig cfg( "kwin_dialogsrc" ); KConfigGroup cg(&cfg, "Notification Messages" ); // this depends on KMessageBox - if( !cg.readEntry( type, QVariant(true )).toBool()) // has don't show again checked + if( !cg.readEntry( type, true )) // has don't show again checked return; // save launching kdialog proc << "--dontagain" << "kwin_dialogsrc:" + type; }