Commit d842f31e authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] - fixed some warnings

parent 96e2dfdf
...@@ -56,10 +56,12 @@ WQtCombinerActionList::WQtCombinerActionList( QWidget* parent, WIconManager* ico ...@@ -56,10 +56,12 @@ WQtCombinerActionList::WQtCombinerActionList( QWidget* parent, WIconManager* ico
for ( WCombinerTypes::WCompatiblesList::iterator groups = compatibles.begin(); groups != compatibles.end(); ++groups ) for ( WCombinerTypes::WCompatiblesList::iterator groups = compatibles.begin(); groups != compatibles.end(); ++groups )
{ {
// check current prototype against whitelist and blacklist // check current prototype against whitelist and blacklist
if( !ignoreWhiteList && // ignore the whitelist? if(
!ignoreWhiteList && // ignore the whitelist?
moduleWhiteList.size() && // whitelist empty? moduleWhiteList.size() && // whitelist empty?
std::find( moduleWhiteList.begin(), moduleWhiteList.end(), groups->first->getName() ) == moduleWhiteList.end() ( ( std::find( moduleWhiteList.begin(), moduleWhiteList.end(), groups->first->getName() ) == moduleWhiteList.end() ) ||
|| std::find( moduleBlackList.begin(), moduleBlackList.end(), groups->first->getName() ) != moduleBlackList.end() ) ( std::find( moduleBlackList.begin(), moduleBlackList.end(), groups->first->getName() ) != moduleBlackList.end() ) )
)
{ {
continue; continue;
} }
......
...@@ -494,7 +494,7 @@ void WQtNetworkEditor::itemMoved() ...@@ -494,7 +494,7 @@ void WQtNetworkEditor::itemMoved()
timerId = startTimer( 1000 / 25 ); timerId = startTimer( 1000 / 25 );
} }
void WQtNetworkEditor::timerEvent( QTimerEvent *event ) void WQtNetworkEditor::timerEvent( QTimerEvent* /*event*/ )
{ {
//Q_UNUSED( event ); //Q_UNUSED( event );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment