mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 22:45:17 +02:00
Update getWindowTitleBarHeight signature
This commit is contained in:
parent
55acff02a1
commit
5937830443
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
#include "UIUtil.h"
|
||||
|
||||
int UIUtil::getWindowTitleBarHeight(QWidget *window) {
|
||||
int UIUtil::getWindowTitleBarHeight(const QWidget* window) {
|
||||
QStyleOptionTitleBar options;
|
||||
options.titleBarState = 1;
|
||||
options.titleBarFlags = Qt::Window;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
class UIUtil {
|
||||
public:
|
||||
static int getWindowTitleBarHeight(QWidget *window);
|
||||
static int getWindowTitleBarHeight(const QWidget* window);
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue