mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 17:18:23 -04:00
forzada la carga de portadas en el directorio ra?z de las bibliotecas
This commit is contained in:
parent
9465a83309
commit
81b9370f65
@ -69,7 +69,7 @@ void LibraryWindow::setupUI()
|
||||
if(settings->contains(MAIN_WINDOW_GEOMETRY))
|
||||
restoreGeometry(settings->value(MAIN_WINDOW_GEOMETRY).toByteArray());
|
||||
else
|
||||
if(settings->value(USE_OPEN_GL).toBool() == false)
|
||||
//if(settings->value(USE_OPEN_GL).toBool() == false)
|
||||
showMaximized();
|
||||
}
|
||||
|
||||
@ -740,7 +740,9 @@ void LibraryWindow::loadLibrary(const QString & name)
|
||||
}
|
||||
enableLibraryActions();
|
||||
|
||||
loadCovers(QModelIndex());
|
||||
setRootIndex();
|
||||
//TODO encontrar el bug que provoca que no se carguen adecuadamente las carátulas en root.
|
||||
setRootIndex();
|
||||
|
||||
//includeComicsCheckBox->setCheckState(Qt::Unchecked);
|
||||
foldersFilter->clear();
|
||||
|
@ -10,7 +10,10 @@ NoLibrariesWidget::NoLibrariesWidget(QWidget *parent) :
|
||||
{
|
||||
setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);
|
||||
|
||||
setStyleSheet("{color:FFFFFF;}");
|
||||
QPalette p(palette());
|
||||
p.setColor(QPalette::Background, Qt::white);
|
||||
setAutoFillBackground(true);
|
||||
setPalette(p);
|
||||
|
||||
QPixmap icon(":/images/noLibrariesIcon.png");
|
||||
QLabel * iconLabel = new QLabel();
|
||||
@ -30,6 +33,8 @@ NoLibrariesWidget::NoLibrariesWidget(QWidget *parent) :
|
||||
|
||||
QVBoxLayout * layout = new QVBoxLayout(this);
|
||||
QHBoxLayout * buttonLayout = new QHBoxLayout();
|
||||
//QHBoxLayout * topLayout = new QHBoxLayout();
|
||||
//QVBoxLayout * textLayout = new QVBoxLayout();
|
||||
|
||||
layout->setAlignment(Qt::AlignHCenter);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user