[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [choqok/mastodon] microblogs/twitter: Fix twitter lists fetching
From: Andrea Scarpino <null () kde ! org>
Date: 2017-07-31 18:26:21
Message-ID: E1dcFOY-0005IT-04 () code ! kde ! org
[Download RAW message or body]
Git commit 4c7aec3cebd5e2dd6941ff50e6eb30eb5879efcc by Andrea Scarpino.
Committed on 31/07/2017 at 18:24.
Pushed by scarpino into branch 'mastodon'.
Fix twitter lists fetching
Regression introduced by 44c549a66
BUG: 382392
M +1 -1 microblogs/twitter/twitterlistdialog.cpp
https://commits.kde.org/choqok/4c7aec3cebd5e2dd6941ff50e6eb30eb5879efcc
diff --git a/microblogs/twitter/twitterlistdialog.cpp \
b/microblogs/twitter/twitterlistdialog.cpp index 663082ad..7371a77e 100644
--- a/microblogs/twitter/twitterlistdialog.cpp
+++ b/microblogs/twitter/twitterlistdialog.cpp
@@ -120,7 +120,7 @@ void TwitterListDialog::loadUserLists()
void TwitterListDialog::slotLoadUserlists(Choqok::Account *theAccount, QString \
username, QList<Twitter::List> list)
{
- if (theAccount == account && QString::compare(username, ui.username->text()) && \
!list.isEmpty()) { + if (theAccount == account && QString::compare(username, \
ui.username->text()) == 0 && !list.isEmpty()) { listWidget->clear();
for (const Twitter::List &l: list) {
QListWidgetItem *item = new QListWidgetItem(listWidget);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic