X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=119189574fceddc6303ba87b4cf70f8c958e0455;hp=e6da7abae26c4215a2e431e6640245f5c46d710d;hb=6f534b8338f9e6cba5bfe7e8183d3a688075f428;hpb=6d6d0fcad8a01c5d232890416ad797b2fcb28c48 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();