equal
deleted
inserted
replaced
941 { |
941 { |
942 bool updateNonUnifiedParts = true; |
942 bool updateNonUnifiedParts = true; |
943 #ifdef Q_WS_MAC |
943 #ifdef Q_WS_MAC |
944 if (layoutState.mainWindow->unifiedTitleAndToolBarOnMac()) { |
944 if (layoutState.mainWindow->unifiedTitleAndToolBarOnMac()) { |
945 // If we hit this case, someone has pressed the "toolbar button" which will |
945 // If we hit this case, someone has pressed the "toolbar button" which will |
946 // toggle the unified toolbar visiblity, because that's what the user wants. |
946 // toggle the unified toolbar visibility, because that's what the user wants. |
947 // We might be in a situation where someone has hidden all the toolbars |
947 // We might be in a situation where someone has hidden all the toolbars |
948 // beforehand (maybe in construction), but now they've hit this button and |
948 // beforehand (maybe in construction), but now they've hit this button and |
949 // and are expecting the items to show. What do we do? |
949 // and are expecting the items to show. What do we do? |
950 // 1) Check the visibility of all the toolbars, if one is visible, do nothing, this |
950 // 1) Check the visibility of all the toolbars, if one is visible, do nothing, this |
951 // preserves what people would expect (these toolbars were visible when I clicked last time). |
951 // preserves what people would expect (these toolbars were visible when I clicked last time). |