Fix another coverity issue
This commit is contained in:
parent
741bdd97f2
commit
2d5c2b933f
@ -384,16 +384,6 @@ void FilePanel::optionsChanged ()
|
|||||||
bool FilePanel::handleShortcutKey (GdkEventKey* event)
|
bool FilePanel::handleShortcutKey (GdkEventKey* event)
|
||||||
{
|
{
|
||||||
|
|
||||||
bool ctrl = event->state & GDK_CONTROL_MASK;
|
|
||||||
|
|
||||||
if (!ctrl) {
|
|
||||||
switch(event->keyval) {
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
switch (event->keyval) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if(tpc->getToolBar() && tpc->getToolBar()->handleShortcutKey(event)) {
|
if(tpc->getToolBar() && tpc->getToolBar()->handleShortcutKey(event)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user