Skip to content
This repository was archived by the owner on Jun 21, 2024. It is now read-only.

Commit 3c8efa6

Browse files
committed
mainwindow.cpp: update operator deprecated in QT6
1 parent e4f845b commit 3c8efa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ MainWindow::MainWindow(bool useNotifySend, QWidget *parent)
3636
setCentralWidget(m_centralWidget);
3737
setupTrayIcon();
3838
setMinimumSize(800, 300);
39-
connect(new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q), this),
39+
connect(new QShortcut(QKeySequence(Qt::CTRL | Qt::Key_Q), this),
4040
&QShortcut::activated, this, &MainWindow::toggleOrCloseWindow);
4141
if (m_settings->contains("geometry")) {
4242
restoreGeometry(m_settings->value("geometry").toByteArray());

0 commit comments

Comments
 (0)