summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/pages/VersionPage.cpp2
-rw-r--r--application/pages/VersionPage.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/application/pages/VersionPage.cpp b/application/pages/VersionPage.cpp
index a4abcd60..8673e4bc 100644
--- a/application/pages/VersionPage.cpp
+++ b/application/pages/VersionPage.cpp
@@ -527,7 +527,7 @@ void VersionPage::onGameUpdateError(QString error)
QMessageBox::Warning)->show();
}
-ComponentPtr VersionPage::current()
+Component * VersionPage::current()
{
auto row = currentRow();
if(row < 0)
diff --git a/application/pages/VersionPage.h b/application/pages/VersionPage.h
index 809b2c0c..b4c18367 100644
--- a/application/pages/VersionPage.h
+++ b/application/pages/VersionPage.h
@@ -67,7 +67,7 @@ private slots:
void on_changeVersionBtn_clicked();
private:
- ComponentPtr current();
+ Component * current();
int currentRow();
void updateButtons(int row = -1);
void preselect(int row = 0);