Skip to content

Commit

Permalink
Quickfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
szszszsz committed Aug 11, 2021
1 parent 6bf7e52 commit f50fac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GUI/graphicstools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bool test_if_gnome(){
return false;
}

QPixmap GraphicsTools::loadColorize(QString path, bool loadForTray, bool mainTrayIcon){
QPixmap GraphicsTools::loadColorize(const QString& path, bool loadForTray, bool mainTrayIcon){
QColor text_color;
bool is_gnome = test_if_gnome();

Expand Down
2 changes: 1 addition & 1 deletion src/GUI/graphicstools.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class GraphicsTools
{
public:
static QPixmap loadColorize(QString path, bool loadForTray = false, bool mainTrayIcon = false);
static QPixmap loadColorize(const QString &path, bool loadForTray = false, bool mainTrayIcon = false);
static QImage applyEffectToImage(QImage src, QGraphicsEffect *effect);
};

Expand Down

0 comments on commit f50fac8

Please sign in to comment.