https://bugs.kde.org/show_bug.cgi?id=368088
Bug ID: 368088 Summary: Must use standard *ui.rc file in setupGUI() / createGUI() Product: frameworks-kparts Version: unspecified Platform: Neon Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: fa...@kde.org Reporter: dand...@get2net.dk CC: kdelibs-b...@kde.org When initiating a KParts::MainWindow according to api docs of KParts::MainWindow and KXmlGuiWindow, states the following: * NOTE: when using KParts::MainWindow, remove this flag from the * setupGUI call, since you'll be using createGUI(part) instead. * @code * setupGUI(ToolBar | Keys | StatusBar | Save); * @endcode */ Create = 16, Problem is, when you do that afaics, the xmlFile param in setupGUI() is not used, so when you call KParts::MainWindow::createGUI(part), it will search for the standard named .rc file. Solution could be to: * save xmlFile param from setupGUI() for later use in createGUI() * add xmlFile param in KParts::MainWindow::createGUI() -- You are receiving this mail because: You are watching all bug changes.