From 6cf3b1ed480859bcb3635faf08b01b5391b84e6e Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Sun, 25 Oct 2020 16:04:10 +0100 Subject: [PATCH] Qt6 incompatibilities fixed --- examples/automotive/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/automotive/main.cpp b/examples/automotive/main.cpp index b8a8400e..a90b9f9d 100644 --- a/examples/automotive/main.cpp +++ b/examples/automotive/main.cpp @@ -44,11 +44,11 @@ int main( int argc, char** argv ) cout << "CTRL-S to change the skin." << endl; cout << "CTRL-T to change the color scheme, when the \"Default\" skin is active." << endl; - QskShortcutMap::addShortcut( QKeySequence( Qt::CTRL + Qt::Key_T ), - false, skinFactory, SLOT(toggleScheme()) ); + QskShortcutMap::addShortcut( QKeySequence( Qt::CTRL | Qt::Key_T ), + false, skinFactory, &SkinFactory::toggleScheme ); - QskShortcutMap::addShortcut( QKeySequence( Qt::CTRL + Qt::Key_S ), - false, skinFactory, SLOT(rotateSkin()) ); + QskShortcutMap::addShortcut( QKeySequence( Qt::CTRL | Qt::Key_S ), + false, skinFactory, &SkinFactory::rotateSkin ); // With CTRL-B you can rotate a couple of visual debug modes SkinnyShortcut::enable( SkinnyShortcut::DebugBackground |