Created
September 6, 2016 13:27
-
-
Save anonymous/ed61103b1c99d928becb8b8b8bf5eaf9 to your computer and use it in GitHub Desktop.
synx_qt5_build_issues - see https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/qt/addressbookpage.cpp b/src/qt/addressbookpage.cpp | |
index 36193fe..5468058 100644 | |
--- a/src/qt/addressbookpage.cpp | |
+++ b/src/qt/addressbookpage.cpp | |
@@ -135,7 +135,7 @@ void AddressBookPage::setModel(AddressTableModel *model) | |
// Set column widths | |
ui->tableView->horizontalHeader()->resizeSection( | |
AddressTableModel::Address, 320); | |
- ui->tableView->horizontalHeader()->setResizeMode( | |
+ ui->tableView->horizontalHeader()->setSectionResizeMode( | |
AddressTableModel::Label, QHeaderView::Stretch); | |
connect(ui->tableView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/qt/sendmessagesdialog.cpp b/src/qt/sendmessagesdialog.cpp | |
index 1d83368..4ee4b62 100644 | |
--- a/src/qt/sendmessagesdialog.cpp | |
+++ b/src/qt/sendmessagesdialog.cpp | |
@@ -155,7 +155,7 @@ void SendMessagesDialog::on_sendButton_clicked() | |
QStringList formatted; | |
foreach(const SendMessagesRecipient &rcp, recipients) | |
{ | |
- formatted.append(tr("<b>%1</b> to %2 (%3)").arg(rcp.message, Qt::escape(rcp.label), rcp.address)); | |
+ formatted.append(tr("<b>%1</b> to %2 (%3)").arg(rcp.message, QString(rcp.label).toHtmlEscaped(), rcp.address)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment