[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdeui/tests
From: David Faure <faure () kde ! org>
Date: 2010-11-18 23:19:31
Message-ID: 20101118231931.CA797AC8A2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1198562 by dfaure:
Fix assert in kxmlgui_unittest now that kedittoolbar checks that localXmlFile is not \
empty (no way to save otherwise).
M +2 -0 testxmlguiwindow.h
--- trunk/KDE/kdelibs/kdeui/tests/testxmlguiwindow.h #1198561:1198562
@@ -45,6 +45,8 @@
void createGUI() {
// This merges in ui_standards.rc, too.
KXmlGuiWindow::createGUI(m_fileName);
+ // just so that we can use kedittoolbar (because m_fileName is absolute)
+ setLocalXMLFile("kxmlgui_unittest.rc");
}
void createGUIBad() {
KXmlGuiWindow::createGUI("dontexist.rc");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic