summaryrefslogtreecommitdiffstats
path: root/pokemodr/CoinListUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/CoinListUI.cpp')
-rw-r--r--pokemodr/CoinListUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/CoinListUI.cpp b/pokemodr/CoinListUI.cpp
index 17e49b89..8e7737a9 100644
--- a/pokemodr/CoinListUI.cpp
+++ b/pokemodr/CoinListUI.cpp
@@ -32,8 +32,8 @@ CoinListUI::CoinListUI(CoinList* coinList, QWidget* parent) :
setObjects(coinList, new CoinList(*coinList));
connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool)));
connect(modified(), SIGNAL(error(const QString&)), this, SLOT(setGui()));
- connect(modified(), SIGNAL(error(QString&)), this, SLOT(errorMessage(QString&)));
- connect(modified(), SIGNAL(warning(QString&)), this, SLOT(warningMessage(QString&)));
+ connect(modified(), SIGNAL(error(const QString&)), this, SLOT(errorMessage(const QString&)));
+ connect(modified(), SIGNAL(warning(const QString&)), this, SLOT(warningMessage(const QString&)));
connect(modified(), SIGNAL(changed()), this, SLOT(setChanged()));
init();
}