[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bcalligra/kexi-mobile-adam=5Fpigg=5D_kexi/mobile=3A_?=
From: Adam Pigg <adam () piggz ! co ! uk>
Date: 2011-07-02 21:33:43
Message-ID: 20110702213343.67C4CA60B9 () git ! kde ! org
[Download RAW message or body]
Git commit 1652fde77c48f48b8339494dcfbfa1a9f248443a by Adam Pigg.
Committed on 02/07/2011 at 23:26.
Pushed by piggz into branch 'kexi-mobile-adam_pigg'.
KexiPart api has changed and supportedViewModes is no longer available
CCMAIL:kexipl@gmail.com
M +3 -3 kexi/mobile/KexiMobileMainWindow.cpp
http://commits.kde.org/calligra/1652fde77c48f48b8339494dcfbfa1a9f248443a
diff --git a/kexi/mobile/KexiMobileMainWindow.cpp b/kexi/mobile/KexiMobileMainWindow.cpp
index 57a58ff..eef93d6 100644
--- a/kexi/mobile/KexiMobileMainWindow.cpp
+++ b/kexi/mobile/KexiMobileMainWindow.cpp
@@ -196,9 +196,9 @@ bool KexiMobileMainWindow::openingAllowed(KexiPart::Item* item, Kexi::ViewMode v
}
}
qDebug() << part << item->partClass();
- if (part)
- qDebug() << item->partClass() << part->supportedUserViewModes();
- return part && (part->supportedUserViewModes() & viewMode) && (viewMode == Kexi::DataViewMode);
+ /*if (part)
+ qDebug() << item->partClass() << part->supportedUserViewModes();*/
+ return part /*&& (part->supportedUserViewModes() & viewMode)*/ && (viewMode == Kexi::DataViewMode);
}
//========KexiMainWindowIFace====================
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic