summary refs log tree commit diff
path: root/src/RegisterPage.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-22 19:52:38 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-22 19:52:38 +0200
commit552941118bb7f94bfb3ff8c7f854380408c85ffe (patch)
tree123d371c27a1713cde1685c1ca3f0676e17e913c /src/RegisterPage.cc
parentMerge branch 'theme' (diff)
downloadnheko-552941118bb7f94bfb3ff8c7f854380408c85ffe.tar.xz
Fix minor stylistic issues on the nheko theme
Diffstat (limited to 'src/RegisterPage.cc')
-rw-r--r--src/RegisterPage.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/RegisterPage.cc b/src/RegisterPage.cc

index 01f3b28f..52a0ac02 100644 --- a/src/RegisterPage.cc +++ b/src/RegisterPage.cc
@@ -15,6 +15,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <QStyleOption> + #include "RegisterPage.h" #include "Avatar.h" #include "Config.h" @@ -186,4 +188,13 @@ RegisterPage::onRegisterButtonClicked() } } +void +RegisterPage::paintEvent(QPaintEvent *) +{ + QStyleOption opt; + opt.init(this); + QPainter p(this); + style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this); +} + RegisterPage::~RegisterPage() {}