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

Function getGeneralTabIdx

lib/general.cpp:915–923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

913}
914
915static int getGeneralTabIdx(QTabWidget *tabWidget)
916{
917 for (int idx = 0; idx < tabWidget->count(); idx++) {
918 if (isGeneralTab(tabWidget->tabText(idx))) {
919 return idx;
920 }
921 }
922 return -1;
923}
924
925static void setupGeneralTabInactiveWarning(QTabWidget *tabs)
926{

Callers 1

Calls 2

isGeneralTabFunction · 0.85
countMethod · 0.80

Tested by

no test coverage detected