| 893 | } |
| 894 | |
| 895 | static void populateThreadPriorityList(QComboBox *list) |
| 896 | { |
| 897 | for (int i = 0; i < (int)switcher->threadPriorities.size(); ++i) { |
| 898 | list->addItem(switcher->threadPriorities[i].name.c_str()); |
| 899 | list->setItemData( |
| 900 | i, switcher->threadPriorities[i].description.c_str(), |
| 901 | Qt::ToolTipRole); |
| 902 | if (switcher->threadPriority == |
| 903 | switcher->threadPriorities[i].value) { |
| 904 | list->setCurrentText( |
| 905 | switcher->threadPriorities[i].name.c_str()); |
| 906 | } |
| 907 | } |
| 908 | } |
| 909 | |
| 910 | static bool isGeneralTab(const QString &name) |
| 911 | { |
no test coverage detected