MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / shouldRestoreSplitter

Function shouldRestoreSplitter

lib/macro/macro-tab.cpp:597–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597static bool shouldRestoreSplitter(const QList<int> &pos)
598{
599 if (pos.size() == 0) {
600 return false;
601 }
602
603 for (int i = 0; i < pos.size(); ++i) {
604 if (pos[i] == 0) {
605 return false;
606 }
607 }
608 return true;
609}
610
611static QToolBar *
612setupToolBar(const std::initializer_list<std::initializer_list<QWidget *>>

Callers 1

SetupMacroTabMethod · 0.85

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected