D17182: Fixing StarProfileViewer and Adding Sliders to Histogram

Jasem Mutlaq noreply at phabricator.kde.org
Tue Nov 27 05:44:42 GMT 2018


mutlaqja added a comment.


  Is there a way as well to make this only affects the display buffer and not change the actual data?

INLINE COMMENTS

> fitsview.cpp:1438
>      {
> -        starProfileWidget = new StarProfileViewer(this);
> +        //I had to change it to nullptr instead of "this"
> +        //because while it worked before, there was some change in QT

Maybe this has to do with QPointer? IMO, QPointer doesn't delete the object, just tells you if it is null. If you do "this", the widget follow the "parent". So if the parent is destroyed, it gets destroyed as well.

REPOSITORY
  R321 KStars

REVISION DETAIL
  https://phabricator.kde.org/D17182

To: lancaster, mutlaqja
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20181127/6c8b41fc/attachment.html>


More information about the kde-edu mailing list