No QVariant for KConfig.
svn path=/trunk/KDE/kdebase/workspace/; revision=659537
This commit is contained in:
parent
0bb63f90e9
commit
3d50459834
3 changed files with 3 additions and 4 deletions
|
@ -9,7 +9,6 @@
|
|||
#ifndef __B2CLIENT_H
|
||||
#define __B2CLIENT_H
|
||||
|
||||
#include <QVariant>
|
||||
#include <QDateTime>
|
||||
#include <q3button.h>
|
||||
#include <QBitmap>
|
||||
|
|
|
@ -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"){
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue