Skip to content

Commit

Permalink
Stop Q_AUTOTEST_EXPORTing QKeyBinding and QKeySequencePrivate
Browse files Browse the repository at this point in the history
The QKeySequence test no longer uses private members (since commit
725bdc3), so that is no longer needed.

Also, remove the unused include from the test.

Change-Id: I4d252bb3efd7282f74c44e48444c23ab51d48ea5
Reviewed-by: Marc Mutz <[email protected]>
  • Loading branch information
mitya57 committed Feb 2, 2016
1 parent d10bfff commit b84c61b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/gui/kernel/qkeysequence_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@
QT_BEGIN_NAMESPACE

#ifndef QT_NO_SHORTCUT
struct Q_AUTOTEST_EXPORT QKeyBinding
struct QKeyBinding
{
QKeySequence::StandardKey standardKey;
uchar priority;
uint shortcut;
uint platform;
};

class Q_AUTOTEST_EXPORT QKeySequencePrivate
class QKeySequencePrivate
{
public:
enum { MaxKeyCount = 4 }; // also used in QKeySequenceEdit
Expand Down
1 change: 0 additions & 1 deletion tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#include <qkeysequence.h>
#include <qpa/qplatformtheme.h>
#include <qpa/qplatformtheme_p.h>
#include <private/qkeysequence_p.h>
#include <private/qguiapplication_p.h>
#include <QTranslator>
#include <QLibraryInfo>
Expand Down

0 comments on commit b84c61b

Please sign in to comment.