mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-25 06:58:23 -05:00
Fix build for older versions of Qt
This commit is contained in:
+1
-1
@@ -214,7 +214,7 @@ void RemoteDock::openLocalFile(const QModelIndex& idx)
|
||||
if(!idx.isValid())
|
||||
return;
|
||||
|
||||
QString file = idx.siblingAtColumn(RemoteLocalFilesModel::ColumnFile).data().toString();
|
||||
QString file = idx.sibling(idx.row(), RemoteLocalFilesModel::ColumnFile).data().toString();
|
||||
if(!file.isEmpty())
|
||||
emit openFile(Settings::getValue("remote", "clonedirectory").toString() + "/" + file);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user