[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/widget
From: Adam Pigg <adam () piggz ! co ! uk>
Date: 2010-09-10 10:11:14
Message-ID: 20100910101114.7A852AC884 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1173743 by piggz:
Dont crash if there is no main window
M +2 -2 KexiProjectNavigator.cpp
--- trunk/koffice/kexi/widget/KexiProjectNavigator.cpp #1173742:1173743
@@ -117,7 +117,7 @@
buttons_flyr->addWidget(btn);
}
- if (KexiMainWindowIface::global()->userMode()) {
+ if (KexiMainWindowIface::global() && KexiMainWindowIface::global()->userMode()) {
//! @todo some of these actions can be supported once we deliver ACLs...
m_deleteAction = 0;
m_renameAction = 0;
@@ -191,7 +191,7 @@
SLOT(slotPageSetupForObject()));
- if (KexiMainWindowIface::global()->userMode()) {
+ if (KexiMainWindowIface::global() && KexiMainWindowIface::global()->userMode()) {
//! @todo some of these actions can be supported once we deliver ACLs...
m_partMenu = 0;
} else {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic