mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
avoid useless string copies and fix a bug with logSQL because of that
This commit is contained in:
@@ -640,7 +640,7 @@ void MainWindow::helpAbout()
|
||||
dialog.exec();
|
||||
}
|
||||
|
||||
void MainWindow::updateRecordText(int row, int col, QString newtext)
|
||||
void MainWindow::updateRecordText(int row, int col, const QString& newtext)
|
||||
{
|
||||
if (!db.updateRecord(row, col, newtext)){
|
||||
QMessageBox::information( this, QApplication::applicationName(), tr("Data could not be updated"));
|
||||
|
||||
Reference in New Issue
Block a user