kvirc: fix FTBFS with gcc6
This commit is contained in:
parent
a1e9e00bb2
commit
e3df38d934
1 changed files with 20 additions and 0 deletions
20
srcpkgs/kvirc/patches/gcc6.patch
Normal file
20
srcpkgs/kvirc/patches/gcc6.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- src/kvirc/kernel/KviIrcConnection.cpp.orig
|
||||||
|
+++ src/kvirc/kernel/KviIrcConnection.cpp
|
||||||
|
@@ -669,7 +669,7 @@
|
||||||
|
while(m_pChannelList->first())
|
||||||
|
{
|
||||||
|
m_pChannelList->first()->close();
|
||||||
|
- QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents);
|
||||||
|
+ QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers | QEventLoop::ExcludeUserInputEvents);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -678,7 +678,7 @@
|
||||||
|
while(m_pQueryList->first())
|
||||||
|
{
|
||||||
|
m_pQueryList->first()->close();
|
||||||
|
- QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers & QEventLoop::ExcludeUserInputEvents);
|
||||||
|
+ QApplication::processEvents(QEventLoop::ExcludeSocketNotifiers | QEventLoop::ExcludeUserInputEvents);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue