summaryrefslogtreecommitdiffstats
path: root/mappingtreemodel.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-03-03 09:57:26 +0100
committerArno <am@disconnect.de>2012-03-03 09:57:26 +0100
commit42890664aef1588a92fe9cf816766aae06e3aedb (patch)
tree59472c13a1fbe55816ac6c198a7c876f8bee9a88 /mappingtreemodel.cpp
parent969d923fa3cb5197b6cda9b60fc4abf8552e24f6 (diff)
downloadSheMov-42890664aef1588a92fe9cf816766aae06e3aedb.tar.gz
SheMov-42890664aef1588a92fe9cf816766aae06e3aedb.tar.bz2
SheMov-42890664aef1588a92fe9cf816766aae06e3aedb.zip
Customize menus and toolbar for PictureView
* Added 4 new icons for PictureView-actions. * simplified SheMov::tabChanged(int) * fix long standing bug with QActionGroups in SheMov. Enable and disable all actions according to the active tab
Diffstat (limited to 'mappingtreemodel.cpp')
-rw-r--r--mappingtreemodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/mappingtreemodel.cpp b/mappingtreemodel.cpp
index 4a9e5aa..35b6acd 100644
--- a/mappingtreemodel.cpp
+++ b/mappingtreemodel.cpp
@@ -284,6 +284,7 @@ MappingData MappingTreeModel::mappingDataFromId(int mappingId) const{
}
void MappingTreeModel::setSelectedMappings(const QList<int> &mappingIds){
+ //FIXME: Brute forcing looses focus which is needed for windowTitle!
mSelectedMappings = mappingIds;
/*foreach(int id, mappingIds){
QModelIndex idx = findRecursive(id, Id);