summaryrefslogtreecommitdiffstats
path: root/archiveview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'archiveview.cpp')
-rw-r--r--archiveview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiveview.cpp b/archiveview.cpp
index 9c05b09..0b830bc 100644
--- a/archiveview.cpp
+++ b/archiveview.cpp
@@ -532,7 +532,7 @@ void ArchiveTree::impossible(const QString msg){
QModelIndex ArchiveTree::firstSelected(){
QModelIndexList idxs = selectionModel()->selectedRows();
if(idxs.isEmpty()){
- QModelIndex();
+ return QModelIndex();
}
return idxs.first();
}