ports/devel/qdevelop/files/patch-src_mainimpl.cpp
Tobias Kortkamp fdc06f1c0c devel/qdevelop: Fix build with Clang 6
src/mainimpl.cpp:82:19: error: cannot initialize a parameter of type 'QStatusBar *' with an rvalue of type 'bool'
    setStatusBar( false );
                  ^~~~~

http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475044_s336572/logs/qdevelop-0.28_3.log
2018-07-28 10:56:00 +00:00

15 lines
489 B
C++

src/mainimpl.cpp:82:19: error: cannot initialize a parameter of type 'QStatusBar *' with an rvalue of type 'bool'
setStatusBar( false );
^~~~~
--- src/mainimpl.cpp.orig 2018-07-28 10:47:16 UTC
+++ src/mainimpl.cpp
@@ -79,7 +79,7 @@ MainImpl::MainImpl(QWidget * parent)
: QMainWindow(parent)
{
setupUi(this);
- setStatusBar( false );
+ setStatusBar( NULL );
m_saveBeforeBuild = true;
m_restoreOnStart = true;
m_projectManager = 0;