MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / hideInformation

Method hideInformation

gui/mainwindow.cpp:2291–2297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2289}
2290
2291void MainWindow::hideInformation() {
2292 int version = getVersion(mUI->mLabelInformation->text());
2293 mSettings->setValue(SETTINGS_CHECK_VERSION, version);
2294 mUI->mLabelInformation->setVisible(false);
2295 mUI->mButtonHideInformation->setVisible(false);
2296 mUI->mLayoutInformation->deleteLater();
2297}
2298
2299bool MainWindow::isCppcheckPremium() const {
2300 return mCppcheckCfgProductName.startsWith("Cppcheck Premium ");

Callers

nothing calls this directly

Calls 2

getVersionFunction · 0.85
setValueMethod · 0.45

Tested by

no test coverage detected