aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/Output/waveout/outputwaveout.cpp4
-rw-r--r--src/plugins/Ui/skinned/skin.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/Output/waveout/outputwaveout.cpp b/src/plugins/Output/waveout/outputwaveout.cpp
index 31e1f38a1..4219649aa 100644
--- a/src/plugins/Output/waveout/outputwaveout.cpp
+++ b/src/plugins/Output/waveout/outputwaveout.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009-2017 by Ilya Kotov *
+ * Copyright (C) 2009-2018 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -236,7 +236,7 @@ void OutputWaveOut::uninitialize()
if (dev)
{
waveOutReset(dev); // reset the device
- while (ScheduledBlocks > 0);
+ while (ScheduledBlocks > 0)
Sleep (10);
while (PlayedWaveHeadersCount > 0) // free used blocks ...
diff --git a/src/plugins/Ui/skinned/skin.cpp b/src/plugins/Ui/skinned/skin.cpp
index 2dd078037..fa38278fe 100644
--- a/src/plugins/Ui/skinned/skin.cpp
+++ b/src/plugins/Ui/skinned/skin.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2007-2017 by Ilya Kotov *
+ * Copyright (C) 2007-2018 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* Based on Promoe, an XMMS2 Client *
@@ -630,10 +630,10 @@ void Skin::loadLetters(void)
{
QPixmap *img = getPixmap("text");
- QList<QList<QPixmap> > (letters);
+ QList<QList<QPixmap> > letters;
for (int i = 0; i < 3; i++)
{
- QList<QPixmap> (l);
+ QList<QPixmap> l;
for (int j = 0; j < 31; j++)
{
l.append (img->copy (j*5, i*6, 5, 6));