https://bugs.kde.org/show_bug.cgi?id=497187

--- Comment #1 from Hy <hymu...@gmail.com> ---
Philip,

I'm not sure how to reproduce/debug this...I don't have your environment, and
it doesn't crash in other environments. Are you able to compile from source and
test? If so, I have a "shot-in-the-dark" that I'd like you to try. Could you
please add these 3 lines:

    {
        static QMutex eventFilterMutex;
        QMutexLocker lock(&eventFilterMutex);

right after line 2278 in kstars/kstars/tools/imagingplanner.cpp so that the
start of ImagingPlanner::eventFilter() looks like this:

------------------------------------------------------
bool ImagingPlanner::eventFilter(QObject * obj, QEvent * event)
{
    if (m_InitialLoad && event->type() == QEvent::Paint)
    {
        m_InitialLoad = false;
        // Load the initial catalog in another thread.
        setStatus(i18n("Loading Catalogs..."));
        loadInitialCatalog();
    }

    {
        static QMutex eventFilterMutex;
        QMutexLocker lock(&eventFilterMutex);
        // Right click on object in catalog view brings up this menu.
------------------------------------------------------


then, at the end of the method you'd need to add a matching close-curly-bracket
right before the "return false;" on line 2373 (line numbers after the above
addition) e.g.

------------------------------------------------------
    }
    return false;
}

void ImagingPlanner::keywordEditFinished()
------------------------------------------------------

Thanks,
Hy

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to