mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
fix: remove for
loop with most one iteration (#804)
* fix: remove `for` loop with most one iteration * 🎨 apply clang-format changes * fix: remove `for` loop with most one iteration * fix: code smells * 🎨 apply clang-format changes --------- Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
This commit is contained in:
parent
85b2a98dec
commit
87e2091214
File diff suppressed because it is too large
Load diff
|
@ -255,6 +255,7 @@ private:
|
|||
|
||||
void changeWebEngineViewFont();
|
||||
bool isWordPresentedInFavorites( QString const & word, unsigned groupId );
|
||||
void errorMessageOnStatusBar( const QString & errStr );
|
||||
private slots:
|
||||
|
||||
void hotKeyActivated( int );
|
||||
|
@ -475,7 +476,7 @@ class ArticleSaveProgressDialog : public QProgressDialog
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ArticleSaveProgressDialog( QWidget * parent = 0, Qt::WindowFlags f = Qt::Widget ):
|
||||
explicit ArticleSaveProgressDialog( QWidget * parent = nullptr, Qt::WindowFlags f = Qt::Widget ):
|
||||
QProgressDialog( parent, f )
|
||||
{
|
||||
setAutoReset( false );
|
||||
|
|
Loading…
Reference in a new issue