Commit 9a7bea26 authored by Scott Wheeler's avatar Scott Wheeler

Delay scanning directories until the GUI has been shown.

svn path=/trunk/kdemultimedia/juk/; revision=211534
parent a5978904
......@@ -23,6 +23,7 @@
#include <kdebug.h>
#include <qinputdialog.h>
#include <qtimer.h>
#include "playlistitem.h"
#include "playlistsplitter.h"
......@@ -438,7 +439,7 @@ void PlaylistSplitter::readConfig()
}
m_directoryList = config->readListEntry("DirectoryList");
open(m_directoryList);
QTimer::singleShot(0, this, SLOT(slotScanDirectories()));
}
// restore the list of hidden and shown columns
......
......@@ -278,6 +278,8 @@ private slots:
*/
void slotPlaylistItemRemoved(PlaylistItem *item);
void slotScanDirectories() { open(m_directoryList); }
private:
PlaylistItem *m_playingItem;
PlaylistBox *m_playlistBox;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment