projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common: Always let QVariant::fromValue() deduce the type
[quassel.git]
/
src
/
core
/
core.cpp
diff --git
a/src/core/core.cpp
b/src/core/core.cpp
index
b0c02c1
..
cf01e5f
100644
(file)
--- a/
src/core/core.cpp
+++ b/
src/core/core.cpp
@@
-302,7
+302,7
@@
void Core::saveState()
if (_storage) {
QVariantList activeSessions;
for (auto&& user : instance()->_sessions.keys())
- activeSessions << QVariant::fromValue
<UserId>
(user);
+ activeSessions << QVariant::fromValue(user);
_storage->setCoreState(activeSessions);
}
}