mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix transitive dependencies on iostream
This commit is contained in:
parent
f2f0efe9b3
commit
3bbd034781
3 changed files with 9 additions and 7 deletions
|
@ -1065,8 +1065,8 @@ Cache::saveInvite(lmdb::txn &txn,
|
|||
lmdb::val(json(msg).dump()));
|
||||
|
||||
if (!res)
|
||||
std::cout << "couldn't save data" << json(msg).dump()
|
||||
<< '\n';
|
||||
nhlog::db()->warn("couldn't save data: {}",
|
||||
json(msg).dump());
|
||||
},
|
||||
e);
|
||||
}
|
||||
|
|
|
@ -537,7 +537,7 @@ TextInputWidget::TextInputWidget(QWidget *parent)
|
|||
emit input_->resultsRetrieved(cache::searchUsers(
|
||||
ChatPage::instance()->currentRoom().toStdString(), q));
|
||||
} catch (const lmdb::error &e) {
|
||||
std::cout << e.what() << '\n';
|
||||
nhlog::db()->error("Suggestion retrieval failed: {}", e.what());
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
10
src/main.cpp
10
src/main.cpp
|
@ -15,6 +15,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCommandLineParser>
|
||||
#include <QDesktopWidget>
|
||||
|
@ -43,15 +45,15 @@
|
|||
#include "emoji/MacHelper.h"
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_LINUX)
|
||||
#include <boost/stacktrace.hpp>
|
||||
#include <csignal>
|
||||
|
||||
#ifdef QML_DEBUGGING
|
||||
#include <QQmlDebuggingEnabler>
|
||||
QQmlDebuggingEnabler enabler;
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_LINUX)
|
||||
#include <boost/stacktrace.hpp>
|
||||
#include <csignal>
|
||||
|
||||
void
|
||||
stacktraceHandler(int signum)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue