Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6b80c5a7 authored by Michael Pyne's avatar Michael Pyne

Remove KDE 3.4-era cover code

svn path=/trunk/KDE/kdemultimedia/juk/; revision=851582
parent d5064d93
......@@ -92,7 +92,6 @@ JuK::JuK(QWidget *parent) :
readConfig();
setupSystemTray();
setupGlobalAccels();
createDirs();
SplashScreen::finishedLoading();
QTimer::singleShot(0, CollectionList::instance(), SLOT(slotCheckCache()));
......@@ -324,19 +323,6 @@ void JuK::slotProcessArgs()
CollectionList::instance()->addFiles(files);
}
void JuK::createDirs()
{
QDir dir(KGlobal::dirs()->saveLocation("data", KGlobal::mainComponent().componentName() + '/'));
if(!dir.exists("covers"))
dir.mkdir("covers");
dir.cd("covers");
if(!dir.exists("large"))
dir.mkdir("large");
}
void JuK::keyPressEvent(QKeyEvent *e)
{
if (e->key() >= Qt::Key_Back && e->key() <= Qt::Key_MediaLast)
......
......@@ -47,7 +47,6 @@ private:
void setupActions();
void setupSystemTray();
void setupGlobalAccels();
void createDirs();
void keyPressEvent(QKeyEvent *);
......
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