Changeset View
Changeset View
Standalone View
Standalone View
apps/kmix.cpp
Show First 20 Lines • Show All 1279 Lines • ▼ Show 20 Line(s) | 1269 | { | |||
---|---|---|---|---|---|
1280 | 1280 | | |||
1281 | // We only show the "Configure Channels..." menu item if the mixer is not dynamic | 1281 | // We only show the "Configure Channels..." menu item if the mixer is not dynamic | ||
1282 | ViewBase* view = kmw->currentView(); | 1282 | ViewBase* view = kmw->currentView(); | ||
1283 | QAction* action = actionCollection()->action("toggle_channels_currentview"); | 1283 | QAction* action = actionCollection()->action("toggle_channels_currentview"); | ||
1284 | if (view && action) | 1284 | if (view && action) | ||
1285 | action->setVisible(!view->isDynamic()); | 1285 | action->setVisible(!view->isDynamic()); | ||
1286 | } | 1286 | } | ||
1287 | } | 1287 | } | ||
1288 | |