diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-09 20:30:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-09 20:30:47 +0300 |
commit | 407de0a8d0898b28a587962e997df816cb17b6a9 (patch) | |
tree | 99a0184bb44950a900a9f093afb8887bdd148548 /src/gui/widgets | |
parent | 972fdcbd1ed61e2528c8b4c733f21a70d7f674b1 (diff) | |
download | plus-407de0a8d0898b28a587962e997df816cb17b6a9.tar.gz plus-407de0a8d0898b28a587962e997df816cb17b6a9.tar.bz2 plus-407de0a8d0898b28a587962e997df816cb17b6a9.tar.xz plus-407de0a8d0898b28a587962e997df816cb17b6a9.zip |
Fix code style.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/browserbox_unittest.cc | 2 | ||||
-rw-r--r-- | src/gui/widgets/itemshortcutcontainer.cpp | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc index b3f536452..1be712783 100644 --- a/src/gui/widgets/browserbox_unittest.cc +++ b/src/gui/widgets/browserbox_unittest.cc @@ -47,8 +47,6 @@ #include "debug.h" - - TEST_CASE("BrowserBox leak test1", "") { logger = new Logger(); diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp index 400ae0d88..3990137e0 100644 --- a/src/gui/widgets/itemshortcutcontainer.cpp +++ b/src/gui/widgets/itemshortcutcontainer.cpp @@ -485,7 +485,6 @@ void ItemShortcutContainer::mousePressed(MouseEvent &event) { event.consume(); if (popupMenu != nullptr && - selShortcut != nullptr && viewport != nullptr) { popupMenu->showItemPopup(viewport->mMouseX, |