summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-27 20:39:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-27 20:39:46 +0300
commit7d3f7bf81b0df19e19451eae3a2cd1b053189b2e (patch)
tree2a74e66f58fd2c4caf6b93953f4f4d0820229207
parente525b4bc81dc56749c1cf5df6420ebe9ad6bf6cb (diff)
downloadplus-7d3f7bf81b0df19e19451eae3a2cd1b053189b2e.tar.gz
plus-7d3f7bf81b0df19e19451eae3a2cd1b053189b2e.tar.bz2
plus-7d3f7bf81b0df19e19451eae3a2cd1b053189b2e.tar.xz
plus-7d3f7bf81b0df19e19451eae3a2cd1b053189b2e.zip
Fix style issues in browserbox.
-rw-r--r--src/gui/widgets/browserbox.cpp3
-rw-r--r--src/utils/browserboxtools.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index ced262090..be3f006f6 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -229,7 +229,8 @@ void BrowserBox::addRow(const std::string &row, const bool atTop)
bLink.y2 = bLink.y1 + font->getHeight();
if (bLink.caption.empty())
{
- bLink.caption = BrowserBoxTools::replaceLinkCommands(bLink.link);
+ bLink.caption = BrowserBoxTools::replaceLinkCommands(
+ bLink.link);
if (translator)
bLink.caption = translator->getStr(bLink.caption);
}
diff --git a/src/utils/browserboxtools.cpp b/src/utils/browserboxtools.cpp
index 4db092798..e049e220d 100644
--- a/src/utils/browserboxtools.cpp
+++ b/src/utils/browserboxtools.cpp
@@ -70,7 +70,7 @@ std::string BrowserBoxTools::replaceLinkCommands(const std::string &link)
{
#ifdef DYECMD
return link;
-#else // DYECMD
+#else // DYECMD
std::string data = link;