MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / clearHistory

Method clearHistory

tools/screenshotmanager.cpp:156–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void ScreenshotManager::clearHistory()
157{
158 if (!mHistoryInitialized) {
159 initHistory();
160 }
161
162 QSqlQuery deleteQuery("DELETE FROM history");
163 deleteQuery.exec();
164
165 QSqlQuery vacQuery("VACUUM");
166 vacQuery.exec();
167}
168
169//
170

Callers 1

clearMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected