mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
#include "qt/qt_common/text_dialog.hpp"
|
||||
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QTextEdit>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
|
||||
TextDialog::TextDialog(QWidget * parent, QString const & htmlOrText, QString const & title)
|
||||
: QDialog(parent)
|
||||
TextDialog::TextDialog(QWidget * parent, QString const & htmlOrText, QString const & title) : QDialog(parent)
|
||||
{
|
||||
auto * textEdit = new QTextEdit(this);
|
||||
textEdit->setReadOnly(true);
|
||||
@@ -33,4 +31,7 @@ TextDialog::TextDialog(QWidget * parent, QString const & htmlOrText, QString con
|
||||
resize(parent->size());
|
||||
}
|
||||
|
||||
void TextDialog::OnClose() { reject(); }
|
||||
void TextDialog::OnClose()
|
||||
{
|
||||
reject();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user