From 472fea32ff7135b8c91ee96f2f0a00ca8a84e531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Thu, 16 Oct 2014 19:57:06 +0200 Subject: [PATCH] Fixed compilation in MacOSX (Qt5) --- YACReaderLibrary/comic_files_manager.h | 3 +++ YACReaderLibrary/images_osx.qrc | 2 +- YACReaderLibrary/library_window.cpp | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/YACReaderLibrary/comic_files_manager.h b/YACReaderLibrary/comic_files_manager.h index 14cb59aa..9a962dfd 100644 --- a/YACReaderLibrary/comic_files_manager.h +++ b/YACReaderLibrary/comic_files_manager.h @@ -2,6 +2,9 @@ #define COMIC_FILES_MANAGER_H #include +#include +#include + //this class is intended to work in background, just use moveToThread and process to start working class ComicFilesManager : public QObject diff --git a/YACReaderLibrary/images_osx.qrc b/YACReaderLibrary/images_osx.qrc index be86db51..fc58a97e 100644 --- a/YACReaderLibrary/images_osx.qrc +++ b/YACReaderLibrary/images_osx.qrc @@ -21,7 +21,7 @@ ../images/grid_to_flow.gif ../images/empty_folder.png ../images/empty_search.png - ../images/iconSearch.png + ../images/iconSearch.png ../images/clearSearch.png diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp index 1751c70d..257df044 100644 --- a/YACReaderLibrary/library_window.cpp +++ b/YACReaderLibrary/library_window.cpp @@ -780,7 +780,7 @@ void LibraryWindow::createToolBars() libraryToolBar->addAction(toggleFullScreenAction); libraryToolBar->addWidget(new QToolBarStretch()); - libraryToolBar->addWidget(foldersFilter); + libraryToolBar->addWidget(searchEdit); libraryToolBar->setMovable(false);