diff options
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index d73aa799a..00ccc893f 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -77,10 +77,12 @@ #include "plugins/facebook/facebookconnectwidget.h" #endif -QProgressDialog *progressDialog = NULL; -bool progressDialogCanceled = false; +namespace { + QProgressDialog *progressDialog = nullptr; + bool progressDialogCanceled = false; + int progressCounter = 0; +} -static int progressCounter = 0; extern "C" int updateProgress(const char *text) { |