1
0
forked from blue/squawk

0.1.3 release

This commit is contained in:
Blue 2020-03-31 18:56:49 +03:00
parent c793f56647
commit b309100f99
5 changed files with 9 additions and 7 deletions

View File

@ -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

2
external/qxmpp vendored

@ -1 +1 @@
Subproject commit f8c546c5b701c53d708a38a951fcc734eaee7940
Subproject commit 067c7743b1c72d055a749a7611efd2f9026fe784

View File

@ -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));

View File

@ -1,15 +1,15 @@
# Maintainer: Yury Gubich <blue@macaw.me>
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

View File

@ -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);