2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fixed Xcode build, improved project folders (similar to MSVC), warnings fixed.

This commit is contained in:
John Preston
2016-04-14 16:03:03 +03:00
parent 971ec71836
commit 246e39adb1
10 changed files with 195 additions and 372 deletions

View File

@@ -174,7 +174,7 @@ class TWidget : public QWidget {
public:
TWidget(QWidget *parent = nullptr) : QWidget(parent) {
}
bool event(QEvent *e) {
bool event(QEvent *e) override {
return QWidget::event(e);
}
virtual void grabStart() {
@@ -233,6 +233,7 @@ class ChildWidget {
public:
ChildWidget(std::nullptr_t) : _widget(nullptr) {
}
// No default constructor, but constructors with at least
// one argument are simply make functions.
template <typename Parent, typename... Args>