mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Remove potentially dangerous processEvent calls
This commit is contained in:
parent
6af1a52305
commit
9cdf2d8150
2 changed files with 0 additions and 4 deletions
|
@ -85,7 +85,6 @@ Application::Application(int &argc, char **argv) :
|
|||
setupLogBrowser();
|
||||
//no need to waste time;
|
||||
if ( _helpOnly ) return;
|
||||
processEvents();
|
||||
|
||||
QTranslator *qtTranslator = new QTranslator(this);
|
||||
qtTranslator->load(QLatin1String("qt_") + QLocale::system().name(),
|
||||
|
@ -157,7 +156,6 @@ Application::Application(int &argc, char **argv) :
|
|||
setupActions();
|
||||
setupSystemTray();
|
||||
setupProxy();
|
||||
processEvents();
|
||||
|
||||
QObject::connect( this, SIGNAL(messageReceived(QString)),
|
||||
this, SLOT(slotOpenStatus()) );
|
||||
|
@ -350,7 +348,6 @@ void Application::slotAuthCheck( const QString& ,QNetworkReply *reply )
|
|||
if( cnt ) {
|
||||
_tray->setIcon( _theme->syncStateIcon( SyncResult::NotYetStarted, true ) );
|
||||
_tray->show();
|
||||
processEvents();
|
||||
|
||||
if( _tray )
|
||||
_tray->showMessage(tr("%1 Sync Started").arg(_theme->appName()),
|
||||
|
|
|
@ -188,7 +188,6 @@ void LogBrowser::search( const QString& str )
|
|||
void LogBrowser::slotSave()
|
||||
{
|
||||
_saveBtn->setEnabled(false);
|
||||
QCoreApplication::processEvents();
|
||||
|
||||
QString saveFile = QFileDialog::getSaveFileName( this, tr("Save log file"), QDir::homePath() );
|
||||
|
||||
|
|
Loading…
Reference in a new issue