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

Method removeHistory

tools/screenshotmanager.cpp:142–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void ScreenshotManager::removeHistory(const QString &fileName, qint64 time)
143{
144 if (!mHistoryInitialized) {
145 initHistory();
146 }
147
148 QSqlQuery removeQuery;
149 removeQuery.prepare("DELETE FROM history WHERE fileName = ? AND time = ?");
150 removeQuery.addBindValue(fileName);
151 removeQuery.addBindValue(time);
152
153 removeQuery.exec();
154}
155
156void ScreenshotManager::clearHistory()
157{

Callers 1

removeHistoryEntryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected