OSDN Git Service

Updated changelog.
[lamexp/LameXP.git] / src / Dialog_LogView.cpp
index 70c83a0..873ae5e 100644 (file)
@@ -1,12 +1,12 @@
 ///////////////////////////////////////////////////////////////////////////////
 // LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2018 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2023 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
+// it under the terms of the GNU GENERAL PUBLIC LICENSE as published by
 // the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version, but always including the *additional*
-// restrictions defined in the "License.txt" file.
+// (at your option) any later version; always including the non-optional
+// LAMEXP GNU GENERAL PUBLIC LICENSE ADDENDUM. See "License.txt" file!
 //
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -87,7 +87,7 @@ void LogViewDialog::copyButtonClicked(void)
        mime->setData("text/plain", MUTILS_UTF8(ui->textEdit->toPlainText()));
        QApplication::clipboard()->setMimeData(mime);
        m_clipboardUsed = true;
-       m_oldIcon->swap(ui->buttonCopy->icon());
+       *m_oldIcon = ui->buttonCopy->icon();
        ui->buttonCopy->setIcon(*m_acceptIcon);
        ui->buttonCopy->blockSignals(true);
        QTimer::singleShot(1250, this, SLOT(restoreIcon()));
@@ -117,6 +117,6 @@ void LogViewDialog::restoreIcon(void)
        {
                ui->buttonCopy->setIcon(*m_oldIcon);
                ui->buttonCopy->blockSignals(false);
-               m_oldIcon->swap(QIcon());
+               *m_oldIcon = QIcon();
        }
 }