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()));
|
lmdb::val(json(msg).dump()));
|
||||||
|
|
||||||
if (!res)
|
if (!res)
|
||||||
std::cout << "couldn't save data" << json(msg).dump()
|
nhlog::db()->warn("couldn't save data: {}",
|
||||||
<< '\n';
|
json(msg).dump());
|
||||||
},
|
},
|
||||||
e);
|
e);
|
||||||
}
|
}
|
||||||
|
|
|
@ -537,7 +537,7 @@ TextInputWidget::TextInputWidget(QWidget *parent)
|
||||||
emit input_->resultsRetrieved(cache::searchUsers(
|
emit input_->resultsRetrieved(cache::searchUsers(
|
||||||
ChatPage::instance()->currentRoom().toStdString(), q));
|
ChatPage::instance()->currentRoom().toStdString(), q));
|
||||||
} catch (const lmdb::error &e) {
|
} 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/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QCommandLineParser>
|
#include <QCommandLineParser>
|
||||||
#include <QDesktopWidget>
|
#include <QDesktopWidget>
|
||||||
|
@ -43,15 +45,15 @@
|
||||||
#include "emoji/MacHelper.h"
|
#include "emoji/MacHelper.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(Q_OS_LINUX)
|
|
||||||
#include <boost/stacktrace.hpp>
|
|
||||||
#include <csignal>
|
|
||||||
|
|
||||||
#ifdef QML_DEBUGGING
|
#ifdef QML_DEBUGGING
|
||||||
#include <QQmlDebuggingEnabler>
|
#include <QQmlDebuggingEnabler>
|
||||||
QQmlDebuggingEnabler enabler;
|
QQmlDebuggingEnabler enabler;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(Q_OS_LINUX)
|
||||||
|
#include <boost/stacktrace.hpp>
|
||||||
|
#include <csignal>
|
||||||
|
|
||||||
void
|
void
|
||||||
stacktraceHandler(int signum)
|
stacktraceHandler(int signum)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue