Skip to content

Commit

Permalink
OSX: Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed May 27, 2018
1 parent 4593ecc commit 394744e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/configtabappearance.cpp
Expand Up @@ -36,6 +36,7 @@
#include "platform/platformnativeinterface.h"

#include <QAbstractScrollArea>
#include <QAction>
#include <QColorDialog>
#include <QFileDialog>
#include <QFontDialog>
Expand Down Expand Up @@ -475,11 +476,11 @@ void ConfigTabAppearance::decoratePreview()

act = new QAction(c);
act->setShortcut( QString("Shift+F2") );
connect(act, SIGNAL(triggered()), c, SLOT(editNotes()));
connect(act, &QAction::triggered, c, &ClipboardBrowser::editNotes);
c->addAction(act);

act = new QAction(c);
act->setShortcut( QString("F2") );
connect(act, SIGNAL(triggered()), c, SLOT(editSelected()));
connect(act, &QAction::triggered, c, &ClipboardBrowser::editSelected);
c->addAction(act);
}

0 comments on commit 394744e

Please sign in to comment.