MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / clearPlaylist

Method clearPlaylist

player/NymphCastPlayer/mainwindow.cpp:1674–1682  ·  view source on GitHub ↗

--- CLEAR PLAYLIST --- Clears the current displayed playlist.

Source from the content-addressed store, hash-verified

1672// --- CLEAR PLAYLIST ---
1673// Clears the current displayed playlist.
1674void MainWindow::clearPlaylist() {
1675 ui->mediaListWidget->clear();
1676
1677 // Clear local list too.
1678 QFile filepaths;
1679 filepaths.setFileName(appDataLocation + "/filepaths.conf");
1680 filepaths.open(QIODevice::WriteOnly | QIODevice::Truncate);
1681 filepaths.close();
1682}
1683
1684
1685// --- OPEN CUSTOM REMOTES DIALOG ---

Callers

nothing calls this directly

Calls 3

clearMethod · 0.45
openMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected