summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 02:26:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 02:26:54 +0300
commit7f607a0f58a9eba53237955c06bf445c71d57b6c (patch)
tree41b43092a95e530950452073cbf7dd7b7f753b24 /src
parent2c02156250d1bb64e6923ad5be1837ccfb2fa27c (diff)
downloadplus-7f607a0f58a9eba53237955c06bf445c71d57b6c.tar.gz
plus-7f607a0f58a9eba53237955c06bf445c71d57b6c.tar.bz2
plus-7f607a0f58a9eba53237955c06bf445c71d57b6c.tar.xz
plus-7f607a0f58a9eba53237955c06bf445c71d57b6c.zip
Fix code style.
Diffstat (limited to 'src')
-rw-r--r--src/depricatedevent.cpp3
-rw-r--r--src/dropshortcut.cpp1
-rw-r--r--src/spellshortcut.cpp1
3 files changed, 2 insertions, 3 deletions
diff --git a/src/depricatedevent.cpp b/src/depricatedevent.cpp
index 0d5ffca7b..8f0eadf82 100644
--- a/src/depricatedevent.cpp
+++ b/src/depricatedevent.cpp
@@ -62,7 +62,8 @@ int DepricatedEvent::getInt(const std::string &key) const
}
void DepricatedEvent::setString(const std::string &key,
- const std::string &value) throw (BadDepricatedEvent)
+ const std::string &value)
+ throw (BadDepricatedEvent)
{
if (mData.find(key) != mData.end())
throw KEY_ALREADY_EXISTS;
diff --git a/src/dropshortcut.cpp b/src/dropshortcut.cpp
index 410af8739..4deb8901d 100644
--- a/src/dropshortcut.cpp
+++ b/src/dropshortcut.cpp
@@ -28,7 +28,6 @@
#include "localplayer.h"
#include "playerinfo.h"
-#include "gui/chatwindow.h"
#include "gui/widgets/chattab.h"
#include "net/inventoryhandler.h"
diff --git a/src/spellshortcut.cpp b/src/spellshortcut.cpp
index 27ccc1646..0f8697f79 100644
--- a/src/spellshortcut.cpp
+++ b/src/spellshortcut.cpp
@@ -26,7 +26,6 @@
#include "spellshortcut.h"
#include "localplayer.h"
-#include "gui/chatwindow.h"
#include "gui/widgets/chattab.h"
#include "net/inventoryhandler.h"