projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client: Avoid warning for unused argument
[quassel.git]
/
src
/
qtui
/
monoapplication.cpp
diff --git
a/src/qtui/monoapplication.cpp
b/src/qtui/monoapplication.cpp
index
a0ddbc0
..
4b8fac4
100644
(file)
--- a/
src/qtui/monoapplication.cpp
+++ b/
src/qtui/monoapplication.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
5
by the Quassel Project *
+ * Copyright (C) 2005-201
6
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-32,25
+32,26
@@
MonolithicApplication::MonolithicApplication(int &argc, char **argv)
{
_internal = new CoreApplicationInternal(); // needed for parser options
#if defined(HAVE_KDE4) || defined(Q_OS_MAC)
{
_internal = new CoreApplicationInternal(); // needed for parser options
#if defined(HAVE_KDE4) || defined(Q_OS_MAC)
-
disableCrashh
andler();
+
Quassel::disableCrashH
andler();
#endif /* HAVE_KDE4 || Q_OS_MAC */
#endif /* HAVE_KDE4 || Q_OS_MAC */
- setRunMode(Quassel::Monolithic);
+
+ Quassel::setRunMode(Quassel::Monolithic);
}
bool MonolithicApplication::init()
{
}
bool MonolithicApplication::init()
{
- if (!Q
uassel::init()) // parse args
+ if (!Q
tUiApplication::init())
return false;
connect(Client::coreConnection(), SIGNAL(startInternalCore()), SLOT(startInternalCore()));
return false;
connect(Client::coreConnection(), SIGNAL(startInternalCore()), SLOT(startInternalCore()));
- //
FIXME what's this for?
- if (isOptionSet("port")) {
+ //
If port is given, start core so it can listen to incoming connections
+ if (
Quassel::
isOptionSet("port")) {
startInternalCore();
}
startInternalCore();
}
- return
QtUiApplication::init()
;
+ return
true
;
}
}