aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-01-19 09:13:16 -0500
committerKen Moore <ken@pcbsd.org>2015-01-19 09:13:16 -0500
commit4299bd96dd5bc3e3748c53a73bf5aff3888bbb1b (patch)
tree8382bb97ae3ea29810cc5c04583155fb6857ac32 /lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp
parentQuick update to the new audioplayer plugin. Now there is a label which displa... (diff)
downloadlumina-4299bd96dd5bc3e3748c53a73bf5aff3888bbb1b.tar.gz
lumina-4299bd96dd5bc3e3748c53a73bf5aff3888bbb1b.tar.bz2
lumina-4299bd96dd5bc3e3748c53a73bf5aff3888bbb1b.zip
Fix a lockfile violation in the desktop plugin removal process. Now there is no chance of it crashing when plugins are removed.
Diffstat (limited to 'lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp')
-rw-r--r--lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp
index 9069eabe..1d39441e 100644
--- a/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp
+++ b/lumina-desktop/desktop-plugins/audioplayer/PlayerWidget.cpp
@@ -12,6 +12,7 @@
#include <QInputDialog>
#include <QFileDialog>
#include <LuminaXDG.h>
+#include <QDebug>
PlayerWidget::PlayerWidget(QWidget *parent) : QWidget(parent), ui(new Ui::PlayerWidget()){
ui->setupUi(this); //load the designer form
@@ -49,7 +50,7 @@ PlayerWidget::PlayerWidget(QWidget *parent) : QWidget(parent), ui(new Ui::Player
}
PlayerWidget::~PlayerWidget(){
-
+ //qDebug() << "Removing PlayerWidget";
}
void PlayerWidget::LoadIcons(){
@@ -216,4 +217,5 @@ AudioPlayerPlugin::AudioPlayerPlugin(QWidget *parent, QString ID) : LDPlugin(par
}
AudioPlayerPlugin::~AudioPlayerPlugin(){
+ //qDebug() << "Remove AudioPlayerPlugin";
} \ No newline at end of file
bgstack15