| Summary: | server tab notification state is lost when adding channels to an existing server | ||
|---|---|---|---|
| Product: | [Applications] konversation | Reporter: | Niek Beernink <n.beernink> |
| Component: | general | Assignee: | Konversation Bugs <konversation-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Niek Beernink
2006-08-29 11:24:33 UTC
SVN commit 578456 by hein:
Preserve status tab notifications state while editing networks.
BUG:133173
M +2 -0 servergroupdialog.cpp
M +1 -1 servergroupdialog.h
--- trunk/extragear/network/konversation/src/servergroupdialog.cpp #578455:578456
@@ -175,6 +175,7 @@
m_id = settings->id();
m_sortIndex = settings->sortIndex();
m_expanded = settings->expanded();
+ m_enableNotifications = settings->enableNotifications();
m_nameEdit->setText(settings->name());
m_identityCBox->setCurrentText(settings->identity()->getName());
m_commandEdit->setText(settings->connectCommands());
@@ -210,6 +211,7 @@
settings->setServerList(m_serverList);
settings->setChannelList(m_channelList);
settings->setChannelHistory(m_channelHistory);
+ settings->setNotificationsEnabled(m_enableNotifications);
settings->setExpanded(m_expanded);
return settings;
--- trunk/extragear/network/konversation/src/servergroupdialog.h #578455:578456
@@ -76,7 +76,7 @@
QToolButton* m_upChannelBtn;
QToolButton* m_downChannelBtn;
bool m_expanded;
-
+ bool m_enableNotifications;
int m_id;
int m_sortIndex;
|