Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-02-19 14:55:08 +0400
committerOlivier Goffart <ogoffart@woboq.com>2014-02-19 14:55:08 +0400
commit5b561e44626812f6d85aad0d7eafc519aec9443f (patch)
tree8007564f5e9dff93bbccab788c87272ce275e163 /src/owncloudcmd
parent1be322579cf3f12e4d6747a9652a1e4226dfd4c3 (diff)
Use AUTOMOC
This should also fix the compilation of owncloudcmd.cpp Since we have a Q_OBJECT in a .cpp file and qt_wrap_cpp would not generate the moc file.
Diffstat (limited to 'src/owncloudcmd')
-rw-r--r--src/owncloudcmd/owncloudcmd.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/owncloudcmd/owncloudcmd.cpp b/src/owncloudcmd/owncloudcmd.cpp
index d1e668a95..a053378fa 100644
--- a/src/owncloudcmd/owncloudcmd.cpp
+++ b/src/owncloudcmd/owncloudcmd.cpp
@@ -52,8 +52,6 @@ public slots:
}
}
};
-#include "owncloudcmd/moc_owncloudcmd.cpp"
-
int getauth(const char* prompt, char* buf, size_t len, int, int, void*)
{
@@ -236,3 +234,6 @@ int main(int argc, char **argv) {
return 0;
}
+
+#include "owncloudcmd.moc"
+