X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fquassel.cpp;h=dd6c5e7047d81231e78cdc8e9ab32af02c5754f4;hp=f1d37c5c2d8d1150593295450327632bd1a32b8c;hb=84afdd46cb8ebfe821825efcf997a2041e513f71;hpb=81b7a767c2e8066ca560001c4e69073daaa77272 diff --git a/src/common/quassel.cpp b/src/common/quassel.cpp index f1d37c5c..dd6c5e70 100644 --- a/src/common/quassel.cpp +++ b/src/common/quassel.cpp @@ -72,8 +72,10 @@ Quassel::~Quassel() { } bool Quassel::init() { - if(_initialized) return true; // allow multiple invocations because of MonolithicApplication + if(_initialized) + return true; // allow multiple invocations because of MonolithicApplication + _initialized = true; qsrand(QTime(0,0,0).secsTo(QTime::currentTime())); registerMetaTypes();