mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Fix all compilation issues after enabling QT_DISABLE_DEPRECATED_UP_TO
This commit is contained in:
@ -9,6 +9,8 @@
|
||||
#include <QLabel>
|
||||
#include <QScreen>
|
||||
|
||||
#include <utility>
|
||||
|
||||
BookmarksDialog::BookmarksDialog(QWidget *parent)
|
||||
: QDialog(parent)
|
||||
{
|
||||
@ -28,7 +30,7 @@ BookmarksDialog::BookmarksDialog(QWidget *parent)
|
||||
|
||||
QString labelsStyle = "QLabel {color:white;}";
|
||||
|
||||
foreach (QLabel *label, pages) {
|
||||
for (QLabel *const label : std::as_const(pages)) {
|
||||
label->setStyleSheet(labelsStyle);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user