mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-04 12:37:26 -04:00
src: fix qt 5.15 warnings
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
|
||||
#include <QtCore>
|
||||
#include <QApplication>
|
||||
#include <QtGlobal>
|
||||
|
||||
#include "TailsOS.h"
|
||||
#include "utils.h"
|
||||
@@ -68,7 +69,8 @@ QByteArray fileOpen(QString path) {
|
||||
bool fileWrite(QString path, QString data) {
|
||||
QFile file(path);
|
||||
if(file.open(QIODevice::WriteOnly)){
|
||||
QTextStream out(&file); out << data << endl;
|
||||
QTextStream out(&file);
|
||||
out << data << '\n';
|
||||
file.close();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user