[prev in list] [next in list] [prev in thread] [next in thread]
List: atlantik-devel
Subject: [atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.82,1.83
From: kde () office ! kde ! org
Date: 2003-01-21 2:38:35
[Download RAW message or body]
Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv22350/libatlantikclient
Modified Files:
atlantik_network.cpp
Log Message:
don't do the same stuff twice
Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- atlantik_network.cpp 20 Jan 2003 17:18:47 -0000 1.82
+++ atlantik_network.cpp 21 Jan 2003 02:38:33 -0000 1.83
@@ -305,14 +305,11 @@
QDomElement eButton = nButtons.toElement();
if (!eButton.isNull() && eButton.tagName() == "button")
{
- QDomElement eButton = nButtons.toElement();
- if (!eButton.isNull() && eButton.tagName() == "button")
- {
- emit addCommandButton(eButton.attributeNode(QString("command")).value(), \
eButton.attributeNode(QString("caption")).value(), \
eButton.attributeNode(QString("enabled")).value().toInt());
- hasButtons = true;
- }
+ emit addCommandButton(eButton.attributeNode(QString("command")).value(), \
eButton.attributeNode(QString("caption")).value(), \
eButton.attributeNode(QString("enabled")).value().toInt()); + hasButtons = \
true; }
}
+
if (!hasButtons)
emit addCloseButton();
}
_______________________________________________
atlantik-cvs mailing list
atlantik-cvs@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic