[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Fix for a compile error in kdebase/kworkspace/kwin/rules.cpp
From: Tim Beaulen <tbscope () gmail ! com>
Date: 2006-01-07 19:43:55
Message-ID: dd1e9b170601071143l7efa722frd16d03f5b0d8b4cf () mail ! gmail ! com
[Download RAW message or body]
Hello,
When trying to compile the file rules.cpp, I get the following error:
/home/kde4dev/kde/src/kdebase/workspace/kwin/kcmkwin/kwinrules/../../rules.cpp:229:
error: conversion from `NET::<anonymous enum>' to `const QVariant' is
ambiguous
I fixed it like this:
- WRITE_WITH_DEFAULT( QVariant::fromValue(types), NET::AllTypesMask );
+ WRITE_WITH_DEFAULT( QVariant::fromValue(types), /*
NET::AllTypesMask = 0LU-1 */ QVariant::fromValue(0LU-1) );
I'm not sure if this is ok though.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic