projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finally sanitizificat0red the mess and #ifdef hell with main.cpp, Global:: and friends
[quassel.git]
/
src
/
core
/
coresettings.cpp
diff --git
a/src/core/coresettings.cpp
b/src/core/coresettings.cpp
index
b7aae85
..
8d0a5ce
100644
(file)
--- a/
src/core/coresettings.cpp
+++ b/
src/core/coresettings.cpp
@@
-20,9
+20,9
@@
#include "coresettings.h"
#include "coresettings.h"
-#include
<QStringList>
+#include
"quassel.h"
-CoreSettings::CoreSettings(const QString group) : Settings(group,
Global::
coreApplicationName) {
+CoreSettings::CoreSettings(const QString group) : Settings(group,
Quassel::buildInfo().
coreApplicationName) {
}
CoreSettings::~CoreSettings() {
}
CoreSettings::~CoreSettings() {
@@
-41,14
+41,6
@@
QVariant CoreSettings::oldDbSettings() {
return localValue("DatabaseSettings");
}
return localValue("DatabaseSettings");
}
-void CoreSettings::setPort(const uint &port) {
- setLocalValue("Port", port);
-}
-
-uint CoreSettings::port(const uint &def) {
- return localValue("Port", def).toUInt();
-}
-
void CoreSettings::setCoreState(const QVariant &data) {
setLocalValue("CoreState", data);
}
void CoreSettings::setCoreState(const QVariant &data) {
setLocalValue("CoreState", data);
}