Commit 9dbfb645734fca40f5590e718111bfc532926da0

Authored by Eli de Faria Junior
1 parent 40f7a330
Exists in master

.

install-cacic/installcacic.cpp
... ... @@ -133,16 +133,6 @@ QMap<QString, QString> InstallCacic::validaParametros(QStringList argv, int argc
133 133 }
134 134 return map;
135 135 }
136   -QString InstallCacic::getApplicationDirPath() const
137   -{
138   - return applicationDirPath;
139   -}
140   -
141   -void InstallCacic::setApplicationDirPath(const QString &value)
142   -{
143   - applicationDirPath = value;
144   -}
145   -
146 136  
147 137 QMap<QString, QString> InstallCacic::getArgumentos()
148 138 {
... ...
install-cacic/installcacic.h
... ... @@ -21,8 +21,6 @@ public:
21 21 QMap<QString, QString> validaParametros(QStringList argv, int argc, bool *ok);
22 22 bool startProcess(QString pathprogram, bool wait, QStringList arguments);
23 23 void registro();
24   - void setApplicationDirPath(const QString &value);
25   - QString getApplicationDirPath() const;
26 24  
27 25 private:
28 26 QMap<QString, QString> argumentos;
... ...
install-cacic/main.cpp
... ... @@ -9,7 +9,6 @@ int main(int argc, char *argv[])
9 9 for (int i = 0; i<argc; i++)
10 10 args.append(argv[i]);
11 11 InstallCacic *installcacic = new InstallCacic(&a);
12   - installcacic->setApplicationDirPath(a.applicationDirPath());
13 12  
14 13 // This will cause the application to exit when
15 14 // the task signals finished.
... ...