projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support $i:account in aliases
[quassel.git]
/
src
/
uisupport
/
uisettings.cpp
diff --git
a/src/uisupport/uisettings.cpp
b/src/uisupport/uisettings.cpp
index
361572e
..
9da5987
100644
(file)
--- a/
src/uisupport/uisettings.cpp
+++ b/
src/uisupport/uisettings.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
2
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 *
@@
-39,19
+39,19
@@
UiStyleSettings::UiStyleSettings(const QString &subGroup) : UiSettings(QString("
void UiStyleSettings::setCustomFormat(UiStyle::FormatType ftype, QTextCharFormat format)
{
void UiStyleSettings::setCustomFormat(UiStyle::FormatType ftype, QTextCharFormat format)
{
- setLocalValue(QString("Format/%1").arg(
ftype
), format);
+ setLocalValue(QString("Format/%1").arg(
static_cast<quint32>(ftype)
), format);
}
QTextCharFormat UiStyleSettings::customFormat(UiStyle::FormatType ftype)
{
}
QTextCharFormat UiStyleSettings::customFormat(UiStyle::FormatType ftype)
{
- return localValue(QString("Format/%1").arg(
ftype
), QTextFormat()).value<QTextFormat>().toCharFormat();
+ return localValue(QString("Format/%1").arg(
static_cast<quint32>(ftype)
), QTextFormat()).value<QTextFormat>().toCharFormat();
}
void UiStyleSettings::removeCustomFormat(UiStyle::FormatType ftype)
{
}
void UiStyleSettings::removeCustomFormat(UiStyle::FormatType ftype)
{
- removeLocalKey(QString("Format/%1").arg(
ftype
));
+ removeLocalKey(QString("Format/%1").arg(
static_cast<quint32>(ftype)
));
}
}