diff options
author | Be <be@mixxx.org> | 2020-05-15 16:14:05 -0500 |
---|---|---|
committer | Be <be@mixxx.org> | 2020-05-15 16:14:05 -0500 |
commit | 5e6f87bbc1735e423b5b58e325c374e4d04f7f85 (patch) | |
tree | 4af372fb951c708b41e549650e569434bd9aa87f | |
parent | 70ba21406989bbcb71ea06cbcee84fc5f307a466 (diff) |
widgethelper: declare .h file function inline
-rw-r--r-- | src/util/widgethelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/widgethelper.h b/src/util/widgethelper.h index 22a46726db..dc552663a7 100644 --- a/src/util/widgethelper.h +++ b/src/util/widgethelper.h @@ -7,7 +7,7 @@ namespace widgethelper { /// Returns an adjusted upper left point for displaying the popup /// with the given size on the screen, shifting the popup if it would go off /// the right or bottom edges of the screen. -QPoint mapPopupToScreen( +inline QPoint mapPopupToScreen( const QSize& screenSize, const QPoint& popupUpperLeft, const QSize& popupSize) { |