projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a Configure menu item to Networks in the buffer list
[quassel.git]
/
src
/
uisupport
/
networkmodelcontroller.cpp
diff --git
a/src/uisupport/networkmodelcontroller.cpp
b/src/uisupport/networkmodelcontroller.cpp
index
88e48e3
..
10807d9
100644
(file)
--- a/
src/uisupport/networkmodelcontroller.cpp
+++ b/
src/uisupport/networkmodelcontroller.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
6
by the Quassel Project *
+ * Copyright (C) 2005-201
8
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-362,7
+362,7
@@
void NetworkModelController::handleHideAction(ActionType type, QAction *action)
return;
case HideApplyToAll:
BufferSettings().setMessageFilter(filter);
return;
case HideApplyToAll:
BufferSettings().setMessageFilter(filter);
- [[fallthrough]];
+ [[
clang::
fallthrough]];
case HideUseDefaults:
if (_messageFilter)
BufferSettings(_messageFilter->idString()).removeFilter();
case HideUseDefaults:
if (_messageFilter)
BufferSettings(_messageFilter->idString()).removeFilter();
@@
-414,6
+414,10
@@
void NetworkModelController::handleGeneralAction(ActionType type, QAction *actio
if (networkId.isValid())
emit showChannelList(networkId);
break;
if (networkId.isValid())
emit showChannelList(networkId);
break;
+ case ShowNetworkConfig:
+ if (networkId.isValid())
+ emit showNetworkConfig(networkId);
+ break;
case ShowIgnoreList:
if (networkId.isValid())
emit showIgnoreList(QString());
case ShowIgnoreList:
if (networkId.isValid())
emit showIgnoreList(QString());