21 inline void setShortcut(
const QString &objectName,
const QKeySequence &sequence) {
23 if (objectName ==
"showTabFilesystem") {
26 QAction *shortcutAction =
new QAction(
this);
27 connect(shortcutAction, &QAction::triggered,
this, [=]() { setCurrentIndex(i); });
28 shortcutAction->setShortcut(sequence);
29 this->addAction(shortcutAction);
33 #endif // EXTENDEDTAB_H
The ExtendedTabBar class is only used in left-pane to display 2 tabs (Library - FileSystem) where eac...
Definition: extendedtabbar.h:13
#define MIAMTABPLAYLISTS_LIBRARY
Definition: miamtabplaylists_global.hpp:8