aboutsummaryrefslogtreecommitdiff
path: root/src/ui/textscroller.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-11 19:32:01 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-11 19:32:01 +0000
commit11b7655bb103974d3a855d64dc0b6ec1b0df4ba1 (patch)
tree09084901838b8d57f345a5379cf5915cde4a9921 /src/ui/textscroller.cpp
parent013ee07b55a3738b28b5d46324392d8498b50f2b (diff)
downloadqmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.gz
qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.bz2
qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.zip
reapplied previous patch
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1620 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/textscroller.cpp')
-rw-r--r--src/ui/textscroller.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/textscroller.cpp b/src/ui/textscroller.cpp
index 5328d574b..22b823350 100644
--- a/src/ui/textscroller.cpp
+++ b/src/ui/textscroller.cpp
@@ -51,7 +51,7 @@ TextScroller::TextScroller ( QWidget *parent )
m_progress = -1;
m_metrics = 0;
m_text = "Qt-based Multimedia Player (Qmmp " + Qmmp::strVersion() + ")";
- m_update = FALSE;
+ m_update = false;
readSettings();
m_timer = new QTimer ( this );
connect (m_timer, SIGNAL (timeout()), SLOT (addOffset()));
@@ -141,7 +141,7 @@ void TextScroller::readSettings()
{
QSettings settings(Qmmp::configFile(), QSettings::IniFormat);
QString fontname = settings.value("MainWindow/Font","").toString();
- m_bitmapConf = settings.value("MainWindow/bitmap_font", FALSE).toBool();
+ m_bitmapConf = settings.value("MainWindow/bitmap_font", false).toBool();
m_font.fromString(fontname);
if (m_update)
@@ -152,7 +152,7 @@ void TextScroller::readSettings()
else
{
m_update = true;
- m_bitmap = FALSE;
+ m_bitmap = false;
}
m_metrics = new QFontMetrics(m_font);
@@ -249,7 +249,7 @@ void TextScroller::mouseReleaseEvent (QMouseEvent *e)
else if (e->button() == Qt::LeftButton && m_autoscroll)
{
m_timer->start();
- m_pressing = FALSE;
+ m_pressing = false;
}
else
QWidget::mouseReleaseEvent(e);