diff options
Diffstat (limited to 'src/ui/popupwidget.cpp')
| -rw-r--r-- | src/ui/popupwidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/popupwidget.cpp b/src/ui/popupwidget.cpp index 8531b9148..48711cbc7 100644 --- a/src/ui/popupwidget.cpp +++ b/src/ui/popupwidget.cpp @@ -54,18 +54,18 @@ PopupWidget::PopupWidget(QWidget *parent) m_coverSize = settings.value("popup_cover_size", 48).toInt(); m_template = settings.value("popup_template",DEFAULT_TEMPLATE).toString(); int delay = settings.value("popup_delay", 2500).toInt(); - bool show_cover = settings.value("popup_show_cover",TRUE).toBool(); + bool show_cover = settings.value("popup_show_cover",true).toBool(); settings.endGroup(); //timer m_timer = new QTimer(this); m_timer->setInterval(delay); - m_timer->setSingleShot (TRUE); + m_timer->setSingleShot (true); if(show_cover) connect(m_timer, SIGNAL(timeout ()), SLOT(loadCover())); else m_pixlabel->hide(); connect(m_timer, SIGNAL(timeout ()), SLOT(show())); - setMouseTracking(TRUE); + setMouseTracking(true); } PopupWidget::~PopupWidget() |
