UiStyle::UiStyle(const QString &settingsKey) : _settingsKey(settingsKey) {
// register FormatList if that hasn't happened yet
UiStyle::UiStyle(const QString &settingsKey) : _settingsKey(settingsKey) {
// register FormatList if that hasn't happened yet
// FIXME remove migration at some point
// We remove old settings if we find them, since they conflict
#ifdef Q_WS_MAC
// FIXME remove migration at some point
// We remove old settings if we find them, since they conflict
#ifdef Q_WS_MAC
int color = 10 * s[pos+4].digitValue() + s[pos+5].digitValue();
//TODO: use 99 as transparent color (re mirc color "standard")
color &= 0x0f;
int color = 10 * s[pos+4].digitValue() + s[pos+5].digitValue();
//TODO: use 99 as transparent color (re mirc color "standard")
color &= 0x0f;
QString nick = nickFromMask(msg.sender());
QString txt = mircToInternal(msg.contents());
QString bufferName = msg.bufferInfo().bufferName();
QString nick = nickFromMask(msg.sender());
QString txt = mircToInternal(msg.contents());
QString bufferName = msg.bufferInfo().bufferName();