diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2015-10-06 15:06:23 +0200 |
---|---|---|
committer | Mateusz Łukasik <mati75@linuxmint.pl> | 2015-10-06 15:06:23 +0200 |
commit | cad53e4ce7061f8bc7d49c8123ca6fc6155c79fd (patch) | |
tree | 9da50be8116ad843a2f01441c1e65c4816e4927d /src/sharewidget.cpp | |
parent | ac1e595cfef357d7ef481dbbefb88996af72eb79 (diff) |
Imported Upstream version 15.9.0~ds0
Diffstat (limited to 'src/sharewidget.cpp')
-rw-r--r-- | src/sharewidget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sharewidget.cpp b/src/sharewidget.cpp index 94375cd..155fdee 100644 --- a/src/sharewidget.cpp +++ b/src/sharewidget.cpp @@ -24,6 +24,7 @@ #include <QDesktopServices> #include <QSettings> #include <QEvent> +#include <QTime> //#define TEST_SHAREWIDGET @@ -65,6 +66,9 @@ ShareWidget::ShareWidget(QSettings * settings, QWidget * parent, Qt::WindowFlags , count(0) , display(Random) { + QTime now = QTime::currentTime(); + qsrand(now.msec()); + donate_button = new ShareButton("paypal", "", this); fb_button = new ShareButton("social_facebook", "", this); twitter_button = new ShareButton("social_twitter", "", this); |