diff --git a/resources/scripts/.travis-install-osx.sh b/resources/scripts/.travis-install-osx.sh index 9737b0b49..ea253ceeb 100755 --- a/resources/scripts/.travis-install-osx.sh +++ b/resources/scripts/.travis-install-osx.sh @@ -5,7 +5,9 @@ qmake .. make make install -rm -rf "RSS Guard.app/Contents/Frameworks" +rm -rfv "RSS Guard.app/Contents/Frameworks" + +ls "RSS Guard.app/Contents" make dmg make zip diff --git a/src/gui/systemtrayicon.cpp b/src/gui/systemtrayicon.cpp index 7e4435cda..a94ae839e 100755 --- a/src/gui/systemtrayicon.cpp +++ b/src/gui/systemtrayicon.cpp @@ -118,6 +118,8 @@ void SystemTrayIcon::show() { } void SystemTrayIcon::setNumber(int number, bool any_new_message) { + Q_UNUSED(any_new_message) + if (number <= 0) { setToolTip(QSL(APP_LONG_NAME)); QSystemTrayIcon::setIcon(QIcon(m_normalIcon)); @@ -129,7 +131,7 @@ void SystemTrayIcon::setNumber(int number, bool any_new_message) { // FIXME: Here draw different background instead of different color of number. tray_painter.begin(&background); - tray_painter.setPen(any_new_message ? Qt::black : Qt::black); + tray_painter.setPen(Qt::black); tray_painter.setRenderHint(QPainter::SmoothPixmapTransform, true); tray_painter.setRenderHint(QPainter::TextAntialiasing, true);