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

List:       kde-linux
Subject:    [kde-linux] Build failure: kde-workspace-4.10.3
From:       James Tyrer <jrtyrer () earthlink ! net>
Date:       2013-06-18 14:09:25
Message-ID: 51C06A15.6050308 () earthlink ! net
[Download RAW message or body]

KDE WorkSpace-4.10.3 fails with this error:

/usr/src/kde-workspace-4.10.3/plasma/generic/scriptengines/google_gadgets/ggl_package.cpp:244:37: 
error: cannot allocate an object of abstract type 'GadgetBrowserHost'

That would mean that this block of code is wrong:

void GglPackage::createNewWidgetBrowser(QWidget *parent) {
   ASSERT(!host_);
   host_ = new GadgetBrowserHost(this);
   if (!host_ || !host_->gadget_manager_) {
     gadgetBrowserClosed(); // Actually, it's never opened
     return;
   }
   GetGadgetManager()->ShowGadgetBrowserDialog(host_);
}

It won't work since: "GadgetBrowserHost()" is abstract and can not be 
directly allocated.

Does a C++ wiz have a quick fix?  I will have to read the fine manual a 
while to fix it.

-- 
James Tyrer

Linux (mostly) From Scratch
___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

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