mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +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();
|
void changeWebEngineViewFont();
|
||||||
bool isWordPresentedInFavorites( QString const & word, unsigned groupId );
|
bool isWordPresentedInFavorites( QString const & word, unsigned groupId );
|
||||||
|
void errorMessageOnStatusBar( const QString & errStr );
|
||||||
private slots:
|
private slots:
|
||||||
|
|
||||||
void hotKeyActivated( int );
|
void hotKeyActivated( int );
|
||||||
|
@ -475,7 +476,7 @@ class ArticleSaveProgressDialog : public QProgressDialog
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit ArticleSaveProgressDialog( QWidget * parent = 0, Qt::WindowFlags f = Qt::Widget ):
|
explicit ArticleSaveProgressDialog( QWidget * parent = nullptr, Qt::WindowFlags f = Qt::Widget ):
|
||||||
QProgressDialog( parent, f )
|
QProgressDialog( parent, f )
|
||||||
{
|
{
|
||||||
setAutoReset( false );
|
setAutoReset( false );
|
||||||
|
|
Loading…
Reference in a new issue