summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-09 09:59:16 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-06-09 09:59:16 -0400
commit89aa616a61d41d65698d9abcd914e5e9acfc3131 (patch)
treea03e45df9b1c2a6a533778328c258440bfcb3b26 /src/mainwindow.cpp
parentc31f8b7e314d08022d1d8e50cc77e727eb4bcb5c (diff)
clarified some comments
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a20f49f8..911d0ff1 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -849,7 +849,7 @@ void MainWindow::updateProblemsButton()
const std::size_t numProblems = checkForProblems();
- // starting icon
+ // original icon without a count painted on it
const QIcon original = m_originalNotificationIcon.isNull() ?
QIcon(DefaultIconName) : m_originalNotificationIcon;
@@ -860,8 +860,8 @@ void MainWindow::updateProblemsButton()
ui->actionNotifications->setToolTip(tr("There are notifications to read"));
// will contain the original icon, plus a notification count; this also
- // makes sure the pixmap is exactly 64x64 by 1) requesting the icon that's
- // as close to 64x64 as possible, then scaling it up if it's too small
+ // makes sure the pixmap is exactly 64x64 by requesting the icon that's
+ // as close to 64x64 as possible, and then scaling it up if it's too small
QPixmap merged = original.pixmap(64, 64).scaled(64, 64);
{