Clang-Tidy and Clazy fixes
This commit is contained in:
@@ -83,7 +83,7 @@ class OSDPretty : public QWidget {
|
||||
void set_foreground_color(const QRgb color);
|
||||
void set_background_color(const QRgb color);
|
||||
void set_background_opacity(const qreal opacity);
|
||||
void set_font(const QFont font);
|
||||
void set_font(const QFont &font);
|
||||
|
||||
QRgb foreground_color() const { return foreground_color_.rgb(); }
|
||||
QRgb background_color() const { return background_color_.rgb(); }
|
||||
@@ -97,7 +97,7 @@ class OSDPretty : public QWidget {
|
||||
// When the user has been moving the popup, use these to get its current position and screen.
|
||||
// Note that these return invalid values if the popup is hidden.
|
||||
QScreen *current_screen() const;
|
||||
QScreen *current_screen(const QPoint &pos) const;
|
||||
QScreen *current_screen(const QPoint pos) const;
|
||||
QPoint current_pos() const;
|
||||
|
||||
// QWidget
|
||||
|
||||
Reference in New Issue
Block a user