Skip to content

Commit 9616b8f

Browse files
committed
~ Fix a few issues with building.
1 parent a18100f commit 9616b8f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

ColorScheme.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ColorScheme {
3232
FixDpiDialogErrorText
3333
};
3434

35-
using ColorParams = std::unordered_map<ColorParam, QColor>;
35+
using ColorParams = std::unordered_map<ColorParam, QColor, std::hash<int>>;
3636

3737
/**
3838
* List of colors for elements that don't support styling.

SettingsDialog.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <QSettings>
2222
#include <QtCore/QDir>
2323
#include <QtWidgets/QMessageBox>
24+
#include <cmath>
2425
#include "Application.h"
2526
#include "OpenGLSupport.h"
2627

filters/page_layout/ImageView.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include <QRectF>
2828
#include <QSizeF>
2929
#include <QTransform>
30+
#include <unordered_map>
3031
#include "Alignment.h"
3132
#include "DragHandler.h"
3233
#include "DraggableObject.h"

0 commit comments

Comments
 (0)