mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Use auto to avoid duplicating the type name
This commit is contained in:
@ -118,7 +118,7 @@ int main(int argc, char *argv[])
|
||||
translator.load(QCoreApplication::applicationDirPath() + "/languages/yacreader_" + sufix);
|
||||
#endif
|
||||
app.installTranslator(&translator);
|
||||
MainWindowViewer *mwv = new MainWindowViewer();
|
||||
auto mwv = new MainWindowViewer();
|
||||
|
||||
// some arguments need to be parsed after MainWindowViewer creation
|
||||
QStringList arglist = parser.positionalArguments();
|
||||
|
Reference in New Issue
Block a user