mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Qt: don't deleteLater the progress_dialog
It's already deleted on close by Qt anyway. Also, remove QObject from curl_handle.
This commit is contained in:
parent
adc8a360ad
commit
3056a4db83
4 changed files with 14 additions and 13 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#include "stdafx.h"
|
||||
#include "curl_handle.h"
|
||||
#include "Emu/system_utils.hpp"
|
||||
#include "util/logs.hpp"
|
||||
|
|
@ -11,7 +12,7 @@ LOG_CHANNEL(network_log, "NET");
|
|||
namespace rpcs3::curl
|
||||
{
|
||||
|
||||
curl_handle::curl_handle(QObject* parent) : QObject(parent)
|
||||
curl_handle::curl_handle()
|
||||
{
|
||||
reset_error_buffer();
|
||||
|
||||
|
|
@ -48,7 +49,7 @@ void curl_handle::reset_error_buffer()
|
|||
m_error_buffer[0] = 0;
|
||||
}
|
||||
|
||||
std::string curl_handle::get_verbose_error(CURLcode code)
|
||||
std::string curl_handle::get_verbose_error(CURLcode code) const
|
||||
{
|
||||
if (m_uses_error_buffer)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue