|
From: <cn...@us...> - 2022-11-27 16:02:49
|
Revision: 1296
http://sourceforge.net/p/seq/svn/1296
Author: cn187
Date: 2022-11-27 16:02:47 +0000 (Sun, 27 Nov 2022)
Log Message:
-----------
Fix Qt deprecation warnings about QFlags being initialized with 0
Modified Paths:
--------------
showeq/branches/cn187_devel/src/messagewindow.cpp
showeq/branches/cn187_devel/src/seqlistview.h
showeq/branches/cn187_devel/src/seqwindow.h
Modified: showeq/branches/cn187_devel/src/messagewindow.cpp
===================================================================
--- showeq/branches/cn187_devel/src/messagewindow.cpp 2022-11-27 06:29:04 UTC (rev 1295)
+++ showeq/branches/cn187_devel/src/messagewindow.cpp 2022-11-27 16:02:47 UTC (rev 1296)
@@ -166,7 +166,7 @@
{
// perform a find in the message window, starting at the current position
// using the settings from the checkboxes.
- QTextDocument::FindFlags options = 0;
+ QTextDocument::FindFlags options;
if (m_matchCase->isChecked()) options |= QTextDocument::FindCaseSensitively;
if (m_wholeWords->isChecked()) options |= QTextDocument::FindWholeWords;
if (m_findBackwards->isChecked()) options |= QTextDocument::FindBackward;
Modified: showeq/branches/cn187_devel/src/seqlistview.h
===================================================================
--- showeq/branches/cn187_devel/src/seqlistview.h 2022-11-27 06:29:04 UTC (rev 1295)
+++ showeq/branches/cn187_devel/src/seqlistview.h 2022-11-27 16:02:47 UTC (rev 1296)
@@ -45,7 +45,7 @@
SEQListView(const QString prefName,
QWidget* parent = 0,
const char* name = 0,
- Qt::WindowFlags f = 0);
+ Qt::WindowFlags f = Qt::Widget);
~SEQListView();
const QString& preferenceName() const { return m_preferenceName; }
Modified: showeq/branches/cn187_devel/src/seqwindow.h
===================================================================
--- showeq/branches/cn187_devel/src/seqwindow.h 2022-11-27 06:29:04 UTC (rev 1295)
+++ showeq/branches/cn187_devel/src/seqwindow.h 2022-11-27 16:02:47 UTC (rev 1296)
@@ -43,7 +43,7 @@
public:
SEQWindow(const QString prefName, const QString caption,
- QWidget* parent = 0, const char* name = 0, Qt::WindowFlags f = 0);
+ QWidget* parent = 0, const char* name = 0, Qt::WindowFlags f = Qt::Widget);
~SEQWindow();
virtual QMenu* menu();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|