Qt6 incompatibilities fixed

This commit is contained in:
Uwe Rathmann 2020-10-25 16:04:10 +01:00
parent a101080231
commit 6cf3b1ed48
1 changed files with 4 additions and 4 deletions

View File

@ -44,11 +44,11 @@ int main( int argc, char** argv )
cout << "CTRL-S to change the skin." << endl; cout << "CTRL-S to change the skin." << endl;
cout << "CTRL-T to change the color scheme, when the \"Default\" skin is active." << endl; cout << "CTRL-T to change the color scheme, when the \"Default\" skin is active." << endl;
QskShortcutMap::addShortcut( QKeySequence( Qt::CTRL + Qt::Key_T ), QskShortcutMap::addShortcut( QKeySequence( Qt::CTRL | Qt::Key_T ),
false, skinFactory, SLOT(toggleScheme()) ); false, skinFactory, &SkinFactory::toggleScheme );
QskShortcutMap::addShortcut( QKeySequence( Qt::CTRL + Qt::Key_S ), QskShortcutMap::addShortcut( QKeySequence( Qt::CTRL | Qt::Key_S ),
false, skinFactory, SLOT(rotateSkin()) ); false, skinFactory, &SkinFactory::rotateSkin );
// With CTRL-B you can rotate a couple of visual debug modes // With CTRL-B you can rotate a couple of visual debug modes
SkinnyShortcut::enable( SkinnyShortcut::DebugBackground | SkinnyShortcut::enable( SkinnyShortcut::DebugBackground |