We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c9796cc + f40e9ef commit a3d39abCopy full SHA for a3d39ab
src/qtgui/bookmarks.cpp
@@ -245,8 +245,7 @@ TagInfo &Bookmarks::findOrAddTag(QString tagName)
245
if (idx != -1)
246
return m_TagList[idx];
247
248
- TagInfo info;
249
- info.name=tagName;
+ TagInfo info(tagName);
250
m_TagList.append(info);
251
emit TagListChanged();
252
return m_TagList.last();
src/qtgui/bookmarks.h
@@ -40,11 +40,6 @@ struct TagInfo
40
static const QColor DefaultColor;
41
static const QString strUntagged;
42
43
- TagInfo()
44
- {
45
- active=true;
46
- this->color=DefaultColor;
47
- }
48
TagInfo(QString name)
49
{
50
active=true;
0 commit comments