aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/notifier/popupwidget.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-02-02 14:57:42 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-02-02 14:57:42 +0000
commit96cfa27dc27e4dc81385df243215fd516b043673 (patch)
treef6ba582f37b2584406d1f697240f8175fdf98f8f /src/plugins/General/notifier/popupwidget.h
parent017c9101557477b942ced1739a5668187c5254e0 (diff)
downloadqmmp-96cfa27dc27e4dc81385df243215fd516b043673.tar.gz
qmmp-96cfa27dc27e4dc81385df243215fd516b043673.tar.bz2
qmmp-96cfa27dc27e4dc81385df243215fd516b043673.zip
reduced number of template compilation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4716 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/notifier/popupwidget.h')
-rw-r--r--src/plugins/General/notifier/popupwidget.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/General/notifier/popupwidget.h b/src/plugins/General/notifier/popupwidget.h
index bed2418af..0eb625c50 100644
--- a/src/plugins/General/notifier/popupwidget.h
+++ b/src/plugins/General/notifier/popupwidget.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2012 by Ilya Kotov *
+ * Copyright (C) 2008-2015 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -22,6 +22,7 @@
#include <QWidget>
#include <QFrame>
+#include <qmmpui/metadataformatter.h>
#define DEFAULT_TEMPLATE "<b>%if(%t,%t,%f)</b> %if(%l,\\(%l\\),) \n%if(%p,<br>%p,)\n%if(%a,<br>%a,)"
@@ -63,7 +64,7 @@ private:
QTimer *m_timer;
QLabel *m_label1;
QLabel *m_pixlabel;
- QString m_template;
+ MetaDataFormatter m_formatter;
uint m_pos;
int m_coverSize;