X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=119189574fceddc6303ba87b4cf70f8c958e0455;hb=cb1b16fce88b240c735b942aad44a61a1dd3f28d;hp=e6da7abae26c4215a2e431e6640245f5c46d710d;hpb=52df0969e22249e6758714eec9e5afd7d4fe9b83;p=quassel.git diff --git a/src/core/core.h b/src/core/core.h index e6da7aba..11918957 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -295,7 +295,7 @@ class Core : public QObject { void bufferInfoUpdated(UserId user, const BufferInfo &info); private slots: - bool startListening(uint port = Global::defaultPort); + bool startListening(uint port = Global::parser.value("port").toUInt()); void stopListening(); void incomingConnection(); void clientHasData();