From b309100f99b82a1618495aae2276710b4a7c4393 Mon Sep 17 00:00:00 2001 From: blue Date: Tue, 31 Mar 2020 18:56:49 +0300 Subject: [PATCH] 0.1.3 release --- README.md | 2 +- external/qxmpp | 2 +- main.cpp | 2 +- packaging/Archlinux/PKGBUILD | 6 +++--- ui/widgets/conversation.cpp | 4 +++- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2ff8eb9..1366c96 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![AUR version](https://img.shields.io/aur/version/squawk?style=flat-square)](https://aur.archlinux.org/packages/squawk/) [![Liberapay patrons](https://img.shields.io/liberapay/patrons/macaw.me?logo=liberapay&style=flat-square)](https://liberapay.com/macaw.me) -![Squawk screenshot](https://macaw.me/images/squawk/0.1.2.png) +![Squawk screenshot](https://macaw.me/images/squawk/0.1.3.png) ### Prerequisites diff --git a/external/qxmpp b/external/qxmpp index f8c546c..067c774 160000 --- a/external/qxmpp +++ b/external/qxmpp @@ -1 +1 @@ -Subproject commit f8c546c5b701c53d708a38a951fcc734eaee7940 +Subproject commit 067c7743b1c72d055a749a7611efd2f9026fe784 diff --git a/main.cpp b/main.cpp index f3a410c..c546b57 100644 --- a/main.cpp +++ b/main.cpp @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) QApplication::setApplicationName("squawk"); QApplication::setApplicationDisplayName("Squawk"); - QApplication::setApplicationVersion("0.1.2"); + QApplication::setApplicationVersion("0.1.3"); QTranslator qtTranslator; qtTranslator.load("qt_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath)); diff --git a/packaging/Archlinux/PKGBUILD b/packaging/Archlinux/PKGBUILD index 923a7a0..400bc8c 100644 --- a/packaging/Archlinux/PKGBUILD +++ b/packaging/Archlinux/PKGBUILD @@ -1,15 +1,15 @@ # Maintainer: Yury Gubich pkgname=squawk -pkgver=0.1.2 +pkgver=0.1.3 pkgrel=1 -pkgdesc="An XMPP desktop messenger, written on qt" +pkgdesc="An XMPP desktop messenger, written on pure c++ (qt)" arch=('i686' 'x86_64') url="https://git.macaw.me/blue/squawk" license=('GPL3') depends=('hicolor-icon-theme' 'desktop-file-utils' 'lmdb' 'qxmpp>=1.1.0') makedepends=('cmake>=3.3' 'imagemagick' 'qt5-tools') source=("$pkgname-$pkgver.tar.gz") -sha256sums=('9f89f41e52047c0e687a0a1b766331c19747c11f8f329e540402eaddbca4b677') +sha256sums=('adb172bb7d5b81bd9b83b192481a79ac985877e81604f401b3f2a08613b359bc') build() { cd "$srcdir/squawk" cmake . -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release diff --git a/ui/widgets/conversation.cpp b/ui/widgets/conversation.cpp index 340fd82..952973d 100644 --- a/ui/widgets/conversation.cpp +++ b/ui/widgets/conversation.cpp @@ -78,9 +78,11 @@ Conversation::Conversation(bool muc, Models::Account* acc, const QString pJid, c m_ui->scrollArea->setWidget(line); vs->installEventFilter(&vis); + line->setAutoFillBackground(false); if (testAttribute(Qt::WA_TranslucentBackground)) { m_ui->scrollArea->setAutoFillBackground(false); - m_ui->scrollArea->viewport()->setAutoFillBackground(false); + } else { + m_ui->scrollArea->setBackgroundRole(QPalette::Base); } connect(vs, &QScrollBar::valueChanged, this, &Conversation::onSliderValueChanged);