mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -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))
|
if(settings->contains(MAIN_WINDOW_GEOMETRY))
|
||||||
restoreGeometry(settings->value(MAIN_WINDOW_GEOMETRY).toByteArray());
|
restoreGeometry(settings->value(MAIN_WINDOW_GEOMETRY).toByteArray());
|
||||||
else
|
else
|
||||||
if(settings->value(USE_OPEN_GL).toBool() == false)
|
//if(settings->value(USE_OPEN_GL).toBool() == false)
|
||||||
showMaximized();
|
showMaximized();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -740,7 +740,9 @@ void LibraryWindow::loadLibrary(const QString & name)
|
|||||||
}
|
}
|
||||||
enableLibraryActions();
|
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);
|
//includeComicsCheckBox->setCheckState(Qt::Unchecked);
|
||||||
foldersFilter->clear();
|
foldersFilter->clear();
|
||||||
|
@ -10,7 +10,10 @@ NoLibrariesWidget::NoLibrariesWidget(QWidget *parent) :
|
|||||||
{
|
{
|
||||||
setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);
|
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");
|
QPixmap icon(":/images/noLibrariesIcon.png");
|
||||||
QLabel * iconLabel = new QLabel();
|
QLabel * iconLabel = new QLabel();
|
||||||
@ -30,6 +33,8 @@ NoLibrariesWidget::NoLibrariesWidget(QWidget *parent) :
|
|||||||
|
|
||||||
QVBoxLayout * layout = new QVBoxLayout(this);
|
QVBoxLayout * layout = new QVBoxLayout(this);
|
||||||
QHBoxLayout * buttonLayout = new QHBoxLayout();
|
QHBoxLayout * buttonLayout = new QHBoxLayout();
|
||||||
|
//QHBoxLayout * topLayout = new QHBoxLayout();
|
||||||
|
//QVBoxLayout * textLayout = new QVBoxLayout();
|
||||||
|
|
||||||
layout->setAlignment(Qt::AlignHCenter);
|
layout->setAlignment(Qt::AlignHCenter);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user