corregido bug con el input de b?squeda en macosx

This commit is contained in:
Luis Ángel San Martín 2013-06-17 19:03:42 +02:00
parent 08c8f53e95
commit c02e7cc326

View File

@ -1283,7 +1283,7 @@ void LibraryWindow::toFullScreen()
comicFlow->setCenterIndex(comicFlow->centerIndex());
comics->hide();
sideBar->hide();
libraryToolBar->hide();
libraryToolBar->hide();
showFullScreen();
@ -1305,13 +1305,23 @@ void LibraryWindow::toNormal()
comics->show();
sideBar->show();
libraryToolBar->show();
comicFlow->show();
if(fromMaximized)
if(fromMaximized)
showMaximized();
else
showNormal();
else
showNormal();
#ifdef Q_OS_MAC
QTimer * timer = new QTimer();
timer->setSingleShot(true);
timer->start();
connect(timer,SIGNAL(timeout()),libraryToolBar,SLOT(show()));
connect(timer,SIGNAL(timeout()),timer,SLOT(deleteLater()));
#else
libraryToolBar->show();
#endif
}
void LibraryWindow::setFoldersFilter(QString filter)