mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-23 03:58:56 -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;
|
QPixmap pixmap;
|
||||||
pixmap.loadFromData(reinterpret_cast<const uchar*>(content.data()), content.size());
|
pixmap.loadFromData(reinterpret_cast<const uchar*>(content.data()), content.size());
|
||||||
auto icon = QIcon(pixmap);
|
auto icon = QIcon(pixmap);
|
||||||
auto item = new QListWidgetItem(
|
new QListWidgetItem(
|
||||||
icon,
|
icon,
|
||||||
QString::fromStdString(bookmark.getTitle()),
|
QString::fromStdString(bookmark.getTitle()),
|
||||||
listWidget);
|
listWidget);
|
||||||
item->setTextAlignment(Qt::TextWordWrap);
|
|
||||||
} catch (zim::EntryNotFound& e) {
|
} catch (zim::EntryNotFound& e) {
|
||||||
auto item = new QListWidgetItem(
|
new QListWidgetItem(
|
||||||
QString::fromStdString(bookmark.getTitle()),
|
QString::fromStdString(bookmark.getTitle()),
|
||||||
listWidget);
|
listWidget);
|
||||||
item->setTextAlignment(Qt::TextWordWrap);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user