summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemlinkhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-13 03:16:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-13 03:16:00 +0300
commit39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b (patch)
tree7b730913775d25984689d3308b0d561999662192 /src/gui/widgets/itemlinkhandler.cpp
parent262ce6d0ee2737e8d24914e4ed35c29cc335060b (diff)
downloadmanaplus-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.tar.gz
manaplus-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.tar.bz2
manaplus-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.tar.xz
manaplus-39dbb74b3f1adc7d28c1a8ba9bb633afbf745b6b.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets/itemlinkhandler.cpp')
-rw-r--r--src/gui/widgets/itemlinkhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp
index 3a4bf165b..293eb5237 100644
--- a/src/gui/widgets/itemlinkhandler.cpp
+++ b/src/gui/widgets/itemlinkhandler.cpp
@@ -95,7 +95,7 @@ void ItemLinkHandler::handleLink(const std::string &link,
std::string url = link;
replaceAll(url, " ", "");
listener.url = url;
- ConfirmDialog *confirmDlg = new ConfirmDialog(
+ ConfirmDialog *const confirmDlg = new ConfirmDialog(
_("Open url"), url, false, true);
confirmDlg->addActionListener(&listener);
}