summaryrefslogtreecommitdiffstats
path: root/src/xosd.h
diff options
context:
space:
mode:
authorPascal Viandier <[email protected]>2015-10-01 18:01:36 +0200
committerSlávek Banko <[email protected]>2015-10-01 19:32:33 +0200
commit77649eee774e6f71da886d5c72a616a0b46e08fa (patch)
tree324dcd5623d54c64365aedaa8607ae691cfbddd5 /src/xosd.h
parent01fd55b43a0d9420591544e6bea4fa171fe177b3 (diff)
downloadkooldock-77649eee774e6f71da886d5c72a616a0b46e08fa.tar.gz
kooldock-77649eee774e6f71da886d5c72a616a0b46e08fa.zip
Fix FTBFS with newer GCC
Signed-off-by: Pascal Viandier <[email protected]>
Diffstat (limited to 'src/xosd.h')
-rw-r--r--src/xosd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xosd.h b/src/xosd.h
index b40d8ab..843a1be 100644
--- a/src/xosd.h
+++ b/src/xosd.h
@@ -21,13 +21,13 @@ Q_OBJECT
xosd(QWidget* parent=0, const char *name=0);
virtual ~xosd();
- void setText(QString t);
- void setFont(QString font);
+ void setText(const QString& t);
+ void setFont(const QString& font);
void setItalic();
void setBold();
void setSize(int size);
- void setColor(QString color);
- void setShadowColor(QString color);
+ void setColor(const QString& color);
+ void setShadowColor(const QString& color);
void setShadowOffset(int off);
void move2(int x, int y);
void setOrientation(int orientation, int w, int mh);