No QVariant for KConfig.

svn path=/trunk/KDE/kdebase/workspace/; revision=659537
This commit is contained in:
Luboš Luňák 2007-04-30 11:50:48 +00:00
parent 0bb63f90e9
commit 3d50459834
3 changed files with 3 additions and 4 deletions

View file

@ -9,7 +9,6 @@
#ifndef __B2CLIENT_H
#define __B2CLIENT_H
#include <QVariant>
#include <QDateTime>
#include <q3button.h>
#include <QBitmap>

View file

@ -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"){

View file

@ -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;
}