Skip to content

Instantly share code, notes, and snippets.

@mtippett
Last active August 20, 2020 20:33
Show Gist options
  • Save mtippett/a43cb6e1b325f2fcf401480986a2f1e1 to your computer and use it in GitHub Desktop.
Save mtippett/a43cb6e1b325f2fcf401480986a2f1e1 to your computer and use it in GitHub Desktop.
void OBSBasic::EditSceneName()
{
QListWidgetItem *item = ui->scenes->currentItem();
Qt::ItemFlags flags = item->flags();
QListWidgetItem *item = ui->scenes->currentItem();
Qt::ItemFlags flags = item->flags();
+ QAction *renameScene = new QAction(ui->scenesDock);
+
+ foreach (const QKeySequence &shortcut, renameScene->shortcuts()) {
+ blog(LOG_INFO, "EditSceneName hotkeys (4251): %s",shortcut.toString().toLocal8Bit(
).data());
+ }
+
+ renameScene->setShortcut(QKeySequence());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment