[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 133482] New: handle QVariant in variable widget
From:       Ignacio "Castaño" <castanyo () yahoo ! es>
Date:       2006-09-03 8:41:10
Message-ID: 20060903104109.133482.castanyo () yahoo ! es
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=133482         
           Summary: handle QVariant in variable widget
           Product: kdevelop
           Version: 3.3.91
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: castanyo yahoo es


Version:           3.3.91 (using KDE KDE 3.5.4)
Installed from:    Compiled From Sources

The latest beta of kdevelop displays QStrings properly in the variable widget. It \
would also be nice if QVariants and other Qt data types were also displayed \
correctly.

I've attempted to do that by adding a new case in handleSpecialTypes, but it's not \
clear to me what command should I use and what the $data variable represents. A \
QVariant can usually be converted to a string with toString, but printing \
$data.toString() results in the following error:

"Attempt to take address of value not located in memory"

Any hint would be appreciated. Thanks!


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic