diff --git a/VERSION_MAC b/VERSION_MAC index a3df0a6..6f4eebd 100644 --- a/VERSION_MAC +++ b/VERSION_MAC @@ -1 +1 @@ -0.8.0 +0.8.1 diff --git a/source/configmanager.cpp b/source/configmanager.cpp index dde8134..759e28e 100644 --- a/source/configmanager.cpp +++ b/source/configmanager.cpp @@ -777,6 +777,7 @@ void ConfigManager::checkRevision() } } case 0x000800: + case 0x000801: break; } diff --git a/source/filemanager.cpp b/source/filemanager.cpp index 12e1b2f..e6387d8 100644 --- a/source/filemanager.cpp +++ b/source/filemanager.cpp @@ -375,9 +375,12 @@ void FileManager::setPdfViewerInItsOwnWidget(bool ownWidget) { widgetFile->addWidgetPdfViewerToSplitter(); } - _widgetPdfViewerWrapper->close(); - _widgetPdfViewerWrapper->deleteLater(); - _widgetPdfViewerWrapper = 0; + if(_widgetPdfViewerWrapper) + { + _widgetPdfViewerWrapper->close(); + _widgetPdfViewerWrapper->deleteLater(); + _widgetPdfViewerWrapper = 0; + } } } void FileManager::ensurePdfViewerIsVisible() diff --git a/source/icons.qrc b/source/icons.qrc index 993b13a..e5407dc 100644 --- a/source/icons.qrc +++ b/source/icons.qrc @@ -1,7 +1,6 @@ data/icons/appicon.png - data/cursor/whiteBeam.tiff data/img/incorporatedPdf.png data/img/incorporatedPdfHover.png data/img/separatedPdf.png @@ -10,5 +9,6 @@ data/img/unlinkSync.png data/img/splitbutton_closetop.png data/img/splitbutton_horizontal.png + data/cursor/whiteBeam.png diff --git a/source/texiteasy.pro b/source/texiteasy.pro index e5389c2..14a8178 100644 --- a/source/texiteasy.pro +++ b/source/texiteasy.pro @@ -13,8 +13,8 @@ TEMPLATE = app APPLICATION_NAME = \\\"'TexitEasy'\\\" TEXITEASY_UPDATE_WEBSITE = \\\"'http://texiteasy.com'\\\" -VERSION = \\\"'0.8.0'\\\" -VERSION_HEX = 0x000800 +VERSION = \\\"'0.8.1'\\\" +VERSION_HEX = 0x000801 #DEFINES += LIB_DEPLOY diff --git a/source/widgettextedit.cpp b/source/widgettextedit.cpp index a4961ac..be31c35 100644 --- a/source/widgettextedit.cpp +++ b/source/widgettextedit.cpp @@ -1467,7 +1467,7 @@ void WidgetTextEdit::initTheme() #ifdef OS_MAC if(ConfigManager::Instance.getTextCharFormats("normal").background().color().value()<100) // if it's a dark color { - QPixmap whiteBeamPixmap("/Users/quentinbramas/Projects/texiteasy/texiteasy-repository/source/data/cursor/whiteBeam.png"); + QPixmap whiteBeamPixmap(":/data/cursor/whiteBeam.png"); QCursor whiteBeam(whiteBeamPixmap); this->viewport()->setCursor(whiteBeam); }