| Summary: | rescanning does work partly only | ||
|---|---|---|---|
| Product: | [Applications] juk | Reporter: | Joerg de la Haye <haye> |
| Component: | general | Assignee: | Scott Wheeler <wheeler> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | tpr |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Joerg de la Haye
2003-10-10 14:22:09 UTC
Yeah, this mostly comes from KDE's component for picking up changes in the file system not actually working very well. I meant to add a manual reload of sorts to JuK before the string freeze and just give up on the the automatic stuff, but I had too many other things I was working on at the time and forgot about this issue. I'll see if I can either fix the automatic stuff or find a way to do this without introducing a new string before 3.2. Otherwise it might be stuck this way until post-3.2. CVS commit by wheeler: Make it possible to rescan the collection by clicking on reload in the RMB or file menu. CCMAIL:65805-done@bugs.kde.org M +1 -1 juk.cpp 1.187 M +8 -0 playlistsplitter.cpp 1.170 M +1 -1 playlistsplitter.h 1.103 --- kdemultimedia/juk/juk.cpp #1.186:1.187 @@ -552,5 +552,5 @@ void JuK::slotPlaylistChanged() action("file_save_as")->setEnabled(false); action("renamePlaylist")->setEnabled(false); - action("reloadPlaylist")->setEnabled(false); + action("reloadPlaylist")->setEnabled(m_splitter->collectionListSelected()); action("deleteItemPlaylist")->setEnabled(false); } --- kdemultimedia/juk/playlistsplitter.cpp #1.169:1.170 @@ -397,4 +397,12 @@ void PlaylistSplitter::slotDeleteSelecte } +void PlaylistSplitter::slotReloadPlaylist() +{ + if(collectionListSelected()) + slotScanDirectories(); + else + visiblePlaylist()->slotReload(); +} + void PlaylistSplitter::slotAddToPlaylist(const QString &file, Playlist *list, PlaylistItem *after) { --- kdemultimedia/juk/playlistsplitter.h #1.102:1.103 @@ -192,5 +192,5 @@ public slots: * \see slotRefresh() */ - void slotReloadPlaylist() { visiblePlaylist()->slotReload(); } + void slotReloadPlaylist(); /** |