refactored the managers

This commit is contained in:
2017-12-31 00:50:07 +01:00
parent 258288bad9
commit bfa2f1637e
80 changed files with 1023 additions and 964 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#include "widgets/helper/droppreview.hpp"
#include "colorscheme.hpp"
#include "singletons/thememanager.hpp"
#include <QDebug>
#include <QPainter>
@@ -20,7 +20,7 @@ void NotebookPageDropPreview::paintEvent(QPaintEvent *)
QPainter painter(this);
painter.fillRect(8, 8, this->width() - 17, this->height() - 17,
this->colorScheme.DropPreviewBackground);
this->themeManager.DropPreviewBackground);
}
void NotebookPageDropPreview::hideEvent(QHideEvent *)