mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-21 02:51:26 -04:00
Remove text alignment on boomarks
This commit is contained in:
parent
ab5d4c890d
commit
159a996039
@ -70,16 +70,14 @@ void ReadingListBar::setupList()
|
||||
QPixmap pixmap;
|
||||
pixmap.loadFromData(reinterpret_cast<const uchar*>(content.data()), content.size());
|
||||
auto icon = QIcon(pixmap);
|
||||
auto item = new QListWidgetItem(
|
||||
new QListWidgetItem(
|
||||
icon,
|
||||
QString::fromStdString(bookmark.getTitle()),
|
||||
listWidget);
|
||||
item->setTextAlignment(Qt::TextWordWrap);
|
||||
} catch (zim::EntryNotFound& e) {
|
||||
auto item = new QListWidgetItem(
|
||||
new QListWidgetItem(
|
||||
QString::fromStdString(bookmark.getTitle()),
|
||||
listWidget);
|
||||
item->setTextAlignment(Qt::TextWordWrap);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user