mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
Merge bitcoin/bitcoin#24790: lint: remove qt SIGNAL/SLOT lint
b72925e7ce
lint: remove qt SIGNAL/SLOT lint (fanquake) Pull request description: I think we are past the point where we need to lint for this, the CPU can probably be better utilized. ACKs for top commit: laanwj: ACKb72925e7ce
Tree-SHA512: 3da6e4811cdd16ff64c7e26f641f7b24f0405cc86cec36666de58691d447eca8662c924df31c6c60b3523c13590bdc62205a3237b1b1794dd8cdef35519309b3
This commit is contained in:
commit
5c80d9b72d
2 changed files with 1 additions and 21 deletions
|
@ -303,7 +303,7 @@ public Q_SLOTS:
|
|||
/** Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHidden is true */
|
||||
void showNormalIfMinimized() { showNormalIfMinimized(false); }
|
||||
void showNormalIfMinimized(bool fToggleHidden);
|
||||
/** Simply calls showNormalIfMinimized(true) for use in SLOT() macro */
|
||||
/** Simply calls showNormalIfMinimized(true) */
|
||||
void toggleHidden();
|
||||
|
||||
/** called by a timer to check if ShutdownRequested() has been set **/
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# Copyright (c) 2018 The Bitcoin Core developers
|
||||
# Distributed under the MIT software license, see the accompanying
|
||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
#
|
||||
# Check for SIGNAL/SLOT connect style, removed since Qt4 support drop.
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
EXIT_CODE=0
|
||||
|
||||
OUTPUT=$(git grep -E '(SIGNAL|, ?SLOT)\(' -- src/qt)
|
||||
if [[ ${OUTPUT} != "" ]]; then
|
||||
echo "Use Qt5 connect style in:"
|
||||
echo "$OUTPUT"
|
||||
EXIT_CODE=1
|
||||
fi
|
||||
|
||||
exit ${EXIT_CODE}
|
Loading…
Add table
Reference in a new issue